Comment on Regex Isn't Hard (2023)parentComments−throw-qqqqq1yIMO it’s a “language” you need to understand in order to use.Just like you wouldn’t copy/paste any random snippet into your source code if you don’t understand exactly what it does.I see a lot of broken regex at work from people who use regular expressions but don’t understand them (for various reasons).It used to come with a “found this on stackoverflow”-excuse, but mostly now it’s “AI told me to use this” instead.−qiine1yyeah programmers famously understands all the random boilerplate incantations they copy past in their code to get things going.totally definitively−tomsmeding1yI know some people consider this fine. I do not. The fact that the world is not ideal does not mean that we cannot continue to improve things.−throw-qqqqq1yWe all have our own ideas of Utopia I guess :)
Comments
IMO it’s a “language” you need to understand in order to use.
Just like you wouldn’t copy/paste any random snippet into your source code if you don’t understand exactly what it does.
I see a lot of broken regex at work from people who use regular expressions but don’t understand them (for various reasons).
It used to come with a “found this on stackoverflow”-excuse, but mostly now it’s “AI told me to use this” instead.
yeah programmers famously understands all the random boilerplate incantations they copy past in their code to get things going.
totally definitively
I know some people consider this fine. I do not. The fact that the world is not ideal does not mean that we cannot continue to improve things.
We all have our own ideas of Utopia I guess :)