News for hackers. Stuff that matters.
Re:Greppability is an underrated code metric by tuetuopay on Wednesday September 04, 2024 @04:33AM (#41443247)
Go is horrible due to the absence of specific "interface implementation" markers. Gets pretty hard to find where or how a type implements an interface.
Re:Greppability is an underrated code metric by kiitos on Wednesday September 04, 2024 @04:07PM (#41450162)
Interfaces are consumer contracts, they say "I need this" not "I provide this".

Regardless, any reasonable LSP will let you "Find implementations" of any interface definition.

Re:Greppability is an underrated code metric by tuetuopay on Thursday September 05, 2024 @11:19AM (#41457456)
Yup, but we're talking about grep, not lsp. And that's precisely why I don't write go without an lsp (the rare times I do write go).