|
|
|
|
|
by slimsag
2228 days ago
|
|
That's definitely true, but I've often seen beginners just say: type Foo struct { ... }
func (f *Foo) Bar() { ... }
And go "Aha, that's an object and a method, I get it!" but when asked whether they should be using a pointer there or not, have no idea what that even entails.In other words, it's possible to neglect the details of pointers easily and have things generally work |
|