Re:Stripe is building a Ruby typechecker
by markmark on Sunday June 03, 2018 @07:19PM
(#17223043)
When using a dynamic language you need to know what properties are on an object right? So you can work with them, access them, whatever. So just write it down so everyone else knows too. There, that was easy.
[ Parent
| on HN ]
If that’s the case, then why not have the compiler check them as well?
Yes, that's exactly my point. Right them down in your program so that the compiler can check them rather than holding them in your head.