|
|
|
|
|
by the_gipsy
582 days ago
|
|
> Or, we could decide that parameterized methods do not, in fact, implement interfaces, but then it's much less clear why we need methods at all. If we disregard interfaces, any parameterized method can be implemented as a parameterized function. What? Methods are not needed if not for implementing an interface? Anyway, functions could also be implementing interfaces, some languages allow that. I swear the go docs read like a cult. |
|
And unless you're also using interfaces, methods are no different from functions aside from call syntax.