• @chad@sh.itjust.works
    link
    fedilink
    22 months 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
      52 months 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.