News for hackers. Stuff that matters.
Re:Greppability is an underrated code metric by brain5ide on Tuesday September 03, 2024 @02:02AM (#41431750)
I think the first sentence of the author counters your comment. What you described works best in a familiar codebase where the organizing principles have been maintained well and are familiar to the reader and the tools are just the extension of those organizing principles. Even then a deviation from those rules might produce gaps in understanding of what the codebase does.

And grep cuts right through that in a pretty universal way. What the post describes are just ways to not work against grep to optimize for something ephemeral.

Re:Greppability is an underrated code metric by ricardo81 on Tuesday September 03, 2024 @02:16AM (#41431820)
Agree. Not just because it's unfamiliar code, you can also get a feel for how the program/programmer(s) structured the whole thing.