News for hackers. Stuff that matters.
Re:ReX.js – Your RegEx companion by simonrobb on Monday November 19, 2018 @04:23PM (#18489868)
> If you have a single CS bone in your body, you should be able to grok at least the basics of regex.

Sure, but I don't think the existence of this lib implies the author disputes that, and I can only imagine they're pretty familiar with regex themselves. I think they're trying to fill a legitimate need in frontend dev, which is: if you're only touching regex a few times a year, it's pretty intimidating, and not at all maintainable. SQL can also be difficult to grok if you don't write it often, and ORM interfaces make it easier.

Would the world be a better place if everybody knew regex perfectly? Yeah ok it would, but investing a bunch of time learning something you will only occasionally use is a poor investment IMO.

> If you don't, then go back to designing* I guess, and ask for a programmers' help

This seems to be needlessly condescending? You can be an excellent programmer (particularly in frontend) for years while avoiding regex. It's not a make-or-break thing.

There are no comments on this comment yet.