3 ms·
> 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
by 38 2y ago
> 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
- dbattaglia 2y agoThey said “in other languages with classes”. They are comparing to a common code review but/gripe in other languages besides Go.