News for hackers. Stuff that matters.
Re:Just Fucking Use Go by BadBadJellyBean on Friday May 08, 2026 @11:16AM (#48064386)
In my experience only when you implement it correctly. If I add a new method to the interface I can't navigate to the implementations anymore because they don't completely implement the interface.
Re:Just Fucking Use Go by calcifer on Saturday May 09, 2026 @02:53AM (#48072522)
That's surely the correct behaviour?
Re:Just Fucking Use Go by BadBadJellyBean on Saturday May 09, 2026 @05:36AM (#48073522)
It is. But it's also an inconvenience. In a language like Java I can just say that a class implements an interface. If the interface changes the compiler and the IDE tell me about the missing methods. Go not so much.