3 ms·
Depends on the expressiveness of the language type system. Duck-typing may save quite a bit of code when dealing with generic functions without the complexity
by nimrody 17y ago
Depends on the expressiveness of the language type system.
Duck-typing may save quite a bit of code when dealing with generic functions without the complexity of a sophisticated type system (See "Scrap your boilerplate" for the Haskell approach).