
Crystal with Johannes Müller and creator Ary Borenszweig
Software Unscripted
00:00
The Importance of Types in Ruby
There were two faces, but you didn't mean types anywhere like the type of class instance variables. And so there were a time that we were trying to solve this without changing that and eventually we changed it. But I think it was good because some amount of types has documentation, especially like you have this type, this is how it's formed. That seems to be pretty common. There's a lot of languages, Rust is another example of that where you have to put types in certain places like the types of functions. Once you've done that, it can infer the rest of the types. In crystal for performance reasons, you'll collapse that down automatically to just say, you know what
Transcript
Play full episode