Hacker News new | ask | show | jobs
by forgetfreeman 3 days ago
"Regex is hard, regex wizardry is rare, and regex engine implementations are inconsistent. It’s very, very easy to accidentally get it wrong without realizing it."

The what now? I'm struggling to take this seriously because a decade ago regex where common knowledge, like if you don't have a handle on this you should probably go get a job in marketing levels of common knowledge. Has the profession fallen off this far in ten years?

1 comments

Sad truth: Yes.

Yes, it has fallen off this far in the last ten years.

If you look a little further back, say to 2006-ish it's far worse than that.

Back then there were 'bright' middle-school ROV team members writing C and Ada+Spark for Arduino-board control-by-wire small craft to perform simulated ocean sample collection and tool manipulation tasks and winning in the unlimited class against university competition at international championships.

Now the "Profession" consists of teams using ChatGPT to cheat on basic coding tasks and "make nudify" of famous people from their work machines.

What the actual fuck. It's not like we're talking about sed/awk fuckery or manual memory management. Regex syntax is a basic programming concept that is natively supported in most languages. Next you'll tell me these incompetents can't normalize database tables...