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

> That's just "don't create a non-static method if you don't use 'this'" in other languages with classes

Go doesn't have static methods. Regardless if you name the receiver, you have to provide an instance of the type to all methods. Maybe you should check your own knowledge before criticizing others



They said “in other languages with classes”. They are comparing to a common code review but/gripe in other languages besides Go.




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

Search: