Hacker News new | past | comments | ask | show | jobs | submit login

> > // 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.




The java equivalent is GearBox interface with a GearBoxImpl implementation. I wrote that more times than I like.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: