2 ms·
There are many stronger type systems for Ruby. And while that is partially a joke, there are various Optional type implementations, though of course you do then
by vidarh 3y ago
There are many stronger type systems for Ruby. And while that is partially a joke, there are various Optional type implementations, though of course you do then need the discipline of wrapping values as needed.
I don't tend to use it myself because between safe navigation and things like Array() etc. it's rarely needed.