Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

That's what the other gophers say too. Java has interfaces too, but it also has Mockito that makes testing much easier. You should look into it. Mocking library will help reduce boiler code. You would know that if you had used one.


Go interfaces are not the same as Java interfaces. Go interfaces are implemented using structural sub-typing.


>You would know that if you had used one.

Cute.


My bad. :)




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

Search: