21 sats \ 2 replies \ @didiplaywell 3 Sep \ on: Greppability is an underrated code metric tech
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.
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