Isn't greppability another word for "readability"? Striving for readability makes the code inherently greppable in my experience. Comprehensive and concise descriptions next to functions also incidentally provide very useful search keywords.
Not quite. A codebase that is very anal about DRY (like the first example about shipping_address in the article) can still be perfectly readable, and yet it is not greppable.
reply
I see, it's a concise example. If the variable is to be used repeatedly, not writing its complete name at each occurrence is a dependency time-bomb. I guess in my case I didn't considered that because I never do that, so "readability" is enough, but you are right, greppability is also needed for an overall robust result.
reply