|
|
|
|
|
by nuggien
3372 days ago
|
|
> Another example of magic in go would be method names. You have no idea if it is safe to change the name of a method because it could be satisfying an interface far away from the definition site (or in the case of exported methods nowhere you have access to). Is this true? If you changed the name of a method, it will no longer satisfy that interface and your code would not compile. |
|