News for hackers. Stuff that matters.
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.
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)
Re:Greppability is an underrated code metric by eptcyka on Tuesday September 03, 2024 @08:33AM (#41434334)
On machines where I control the tooling, this is not an issue. But I can’t take my config to my colleagues machine.
Re:Greppability is an underrated code metric by lanstin on Tuesday September 03, 2024 @10:49AM (#41435507)
If only AFS had succeeded. What would a modern version of this look like?