Better HN
top
new
best
ask
show
jobs
Log in
Sign up
Better HN
Comment
by
poorman
· 7y ago · 0 comments
I've used contracts any time this type of thing was necessary.
https://github.com/egonSchiele/contracts.ruby
Comments
[–]
wpride
7y ago
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).