• abhibeckert@lemmy.world
    link
    fedilink
    arrow-up
    5
    arrow-down
    12
    ·
    edit-2
    10 months ago

    Programmers write parsers quite a lot

    Speak for yourself. I’ve done it exactly once. It didn’t work, and never shipped. Learned my lesson and always use a parser that someone else wrote. Usually a big team of at least thousands of people (how many people have worked on JSON? Millions? What about UTF8? Those are the main two I use).

    • Oscar@programming.dev
      link
      fedilink
      English
      arrow-up
      31
      ·
      10 months ago

      So you have never iterated over command line arguments and tried to identify options? Or taken a string input field?