Re:Greppability is an underrated code metric
by cma on Tuesday September 03, 2024 @08:51AM
(#41434474)
> All of that is trivial to search for with a tool that understands the language.
Some literal in a log message may come from the code or it might be remapped in some config file outside the language the LSP is looking at, or an environment variable etc.. I just go back and forth with grep and IDE tools, both have different tradeoffs.
Re:Greppability is an underrated code metric
by troupo on Tuesday September 03, 2024 @11:27AM
(#41435895)
The thing is, so many people are weirdly obsessed with never using any other tools besides full-text search. As if using useful tools somehow makes them a lesser programmer or something :)
Some literal in a log message may come from the code or it might be remapped in some config file outside the language the LSP is looking at, or an environment variable etc.. I just go back and forth with grep and IDE tools, both have different tradeoffs.