4 ms·
Go uses structured typing as described by Rob Pike. Duck typing can still lead to runtime errors which is practically all accounted for thanks to the compile-t
by deckarep 8y ago
Go uses structured typing as described by Rob Pike.
Duck typing can still lead to runtime errors which is practically all accounted for thanks to the compile-time safety of structured typing.
- dilap 8y agoduck typing is an informal term, no? i think it's fair to think of structural typing as "compile time duck typing".
- msiggy 8y agodon't think so
- stcredzero 8y agoIt's what I meant.