3 ms·
I really liked eykanal's answer [1]. > Regular expressions are a tool. It happens to be a > very useful tool, so many people choose to learn how >
by peter_l_downs 14y ago
I really liked eykanal's answer [1].
> Regular expressions are a tool. It happens to be a
> very useful tool, so many people choose to learn how
> to use it. However, there's no "requirement" for
> you to learn how to use this particular tool, any
> more than there is a "requirement" for you to learn
> anything else.
Nails it. I do think most programmers will eventually run across a problem to which the solution
is 'Use Regex', but it's not an absolute "must" like boolean logic.
[1] http://programmers.stackexchange.com/questions/133968/is-it-a-must-for-every-programmer-to-learn-regular-expressions#answer-133970 http://programmers.stackexchange.com/questions/133968/is-it-...
- stinos 14y agogood point indeed. I spent my first years programming DSP algorythms on embedded systems. Hardly any strings used, let alone there was any need for regular expressions. Learning their ins and outs back then would have been a waste of time, and would have been like a bricklayer having a fork in his toolbag.
- Drakim 14y agoNo requirement to learn anything else? Reading and writing are pretty good skills no matter what your situation.