4 ms·
> > // gearbox implements Gearbox interface The problem I have with Go is that it does not show an object implements any interface. The implementation is impli
by BossingAround 6y ago
> > // gearbox implements Gearbox interface
The problem I have with Go is that it does not show an object implements any interface. The implementation is implicit, i.e. you implement the method signatures, and you implement the interface. That particular comment is actually quite useful.
- onionisafruit 6y agoThe java equivalent is GearBox interface with a GearBoxImpl implementation. I wrote that more times than I like.