Skip to content

Comment on Regex Isn't Hard (2023)parent

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 :)

AboutSource Built by g1lg1l

Hackerly is an independent reader for Hacker News, built on the public HN API. Not affiliated with Y Combinator.