4 ms·
Basic regex is readable, at a glance, for the most part, with a little practice. Anything marginally complex and you have to stop what you’re working on and rea
by Zelphyr 6y ago
Basic regex is readable, at a glance, for the most part, with a little practice. Anything marginally complex and you have to stop what you’re working on and really read the regex to try to understand what it’s doing.
SQL isn’t hard, but trying to remember all the use cases for the various ways to query something always trips me up. “Wait, do I do a LEFT JOIN here? Ok, now I gotta to look up the different kinds of joins so I can be sure I’m writing the most efficient query.”
Again, it’s just a matter of practice. I’d take SQL over a regex any day.
- offtop5 6y agoAs for SQL, I think I just don't put the time into learn it. At the higher levels, it's definitely it's own programing language with a radically different herritage from the JS/C# I'm used to.