|
|
|
|
|
by jmpeax
4398 days ago
|
|
One of the best type features of Go is the lack of need to do something like this: "@implements(IEatable)". If a class implements all of the methods of the interface, then it automatically implements that interface. Yuppy seems like a step backwards in OO in this regard. |
|
For example, the HtmlString interface could require only "toString" as a method, but not everything that has that method should be considered that type.