4 ms·
I came here to quote that same piece, but for a different purpose. I am in complete agreement with him. I think writing grep-friendly code is a good thing. I
by JustinSeriously 16y ago
I came here to quote that same piece, but for a different purpose. I am in complete agreement with him.
I think writing grep-friendly code is a good thing. I do my best to make all my Perl code easily grepped, it just makes debugging infinitely easier.
- protomyth 16y agoWould a search tool other than grep change how you write code?
- JustinSeriously 16y agoProbably not. I just said "grep" because it's such a basic standard, I really meant "easily searchable from a command line."
- stcredzero 16y agoWhat about a syntax-aware search? If this were as responsive as grep, wouldn't that be better? I think so. I use one in Smalltalk all the time.