Re:Open-sourcing Sorbet: a fast, powerful type checker for Ruby
by neetdeth on Thursday June 20, 2019 @07:39PM
(#20238551)
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.
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.