• chad
    link
    fedilink
    arrow-up
    2
    arrow-down
    1
    ·
    5 days ago

    I fall in the abandon it camp. Code is read way more times than it is written. I’d rather read an algorithm that validates input than read a regex that validates input.

    • potustheplant@feddit.nl
      link
      fedilink
      arrow-up
      4
      ·
      5 days ago

      You’re discussing a completely different use case from what I said. RegEx can be increidbly useful but it’s not always the only/best option.