Re:Kotlin M7
by rst on Thursday March 20, 2014 @11:14AM
(#7435998)
Actually, Go's fairly successful melding of static typing and duck-typed interfaces was a useful new trick. (Which doesn't completely excuse the "C++ tried that and it didn't work for them so WE WON'T" foot-dragging on other matters...)
[ Parent
| on HN ]
>Go's fairly successful melding of static typing and duck-typed interfaces was a useful new trick
For those that don't know this feature is called structural typing: http://en.wikipedia.org/wiki/Structural_type_system
Also, OCaml uses structural typing too.
No it was not, there are lots of languages that offer similar capabilities.
The fact that mainstream developers don't know it, does not make it something that Go designers invented.