Re:Greppability is an underrated code metric
by eptcyka on Tuesday September 03, 2024 @07:30AM
(#41433796)
I have to always add wildcards between func and the function name, because I can never know how the other developer has decided to specify the name of the receiver. This will always be a problem as far as grepping with primitive tools that don't parse the language.
[ Parent
| on HN ]
Re:Greppability is an underrated code metric
by medstrom on Tuesday September 03, 2024 @08:18AM
(#41434211)
FYI, many people use thin wrappers like this, it's still a primitive tool that doesn't parse the language, but it can handle that problem: https://jumpshare.com/s/zMENBSr2LwwauJVjo1wS (GIF)