4 ms·
Their reputation for fast prototyping was established before type inference became a widely available language feature. Duck typing is also a minor win for "do
by neetdeth 7y ago
Their reputation for fast prototyping was established before type inference became a widely available language feature.
Duck typing is also a minor win for "do what I mean" generics - you never have to worry about the type specification being too narrow, just pass an object with the necessary methods and it'll work until it breaks.