2

I kinda hate that I don't get any use out regex at work (I work with integrations). Gotta love that feeling when something that would have taken 10+ lines to solve without regex can be solved on 1 line with.

Comments
  • 3
    And hate life when you need to maintain it :-P
  • 0
    I'm with @endre86. Code needs to be easily readable. Just because it's fewer lines doesn't make it better
  • 0
    Regex is readable if it's written by someone that knows what they are doing, as with (almost) all code. Biggest difference is that it's something that you have to explicitly teach yourself to read (and write). You can read almost all traditional languages to a certain degree if you know another traditional language. This is not the case with regex.
Add Comment