Re:Open-sourcing Sorbet: a fast, powerful type checker for Ruby
by poorman on Thursday June 20, 2019 @05:50PM
(#20237752)
I've used contracts any time this type of thing was necessary. https://github.com/egonSchiele/contracts.ruby
[ Parent
| on HN ]
Re:Open-sourcing Sorbet: a fast, powerful type checker for Ruby
by wpride on Thursday June 20, 2019 @08:48PM
(#20238914)
We use Contracts too and are in the process of transitioning to Sorbet. In addition to the same runtime type checking as Contracts, Sorbet offers static type checking (and will re-use your runtime signatures in its static analysis).