Legit - I had a bug in a script once and couldn’t figure it out.
My cat walked across my keyboard…
After I -’ed the changes, it started working as inspected. Still had no idea where the problem was though.
A few simpler regexes pipelined, perhaps combined with other filters, can often do the work of a single much larger and less readable one, which would take 5 times as long to write or debug.
Comments
My cat walked across my keyboard…
After I
Here´s another that comes up from time to time, as described by Martin Fowler (I worked with Phil and jwz at Netscape, I have no good quotes).
https://martinfowler.com/bliki/TwoHardThings.html
I mean, no one else is going to question it.
Outra alternativa é deixar um salmão pulando
In my day we solve these on paper