|
|
|
|
|
by hota_mazi
904 days ago
|
|
> Go's one language innovation is to not require an interface implementation to declare the interface it implements. Uh? How is that innovation? 100% of mainstream languages that I can think of that predate Go do this. Can you name one programming language that we should care about which, once you define an interface, FORCES YOU to provide an implementation of said interface? |
|
(IMO it's a misfeature; having explicit interfaces communicates intent and allows you to do things like AutoCloseable vs Closeable in Java - but that's a matter of judgement)