(no title)
nightbrawler | 4 years ago
[0] Some people, when confronted with a problem, think "I know, I'll use regular expressions." Now they have two problems.
I love regular expressions and figuring out the syntax to solve problems I encounter where I can use regex. Such as searching code for calls with specific named params that may be in different order across the code base. But I always have this quote in the back of my mind if I'm thinking about using regex in code, especially areas that get hit a lot.[0] https://blog.codinghorror.com/regular-expressions-now-you-ha...
laputan_machine|4 years ago
It's just a riff on tech-debt, imho
Yajirobe|4 years ago
TheCapn|4 years ago
And that's how I always think of Regex now. It's an incredibly powerful tool that I pull out pretty often, but if I'm doing anything beyond the most basic pattern matching I know I'm about to lose a bit of time questioning my abilities and sanity.