
Crystal with Johannes Müller and creator Ary Borenszweig
Software Unscripted
00:00
The Importance of Extensions in Crystal
In Crystal you can't even reopen standard types, for example. It's possible to do in Crystal, like in Ruby. I personally am not very much a fan of that. Some people like it more probably. But then adding extension methods in a certain way in Crystal would be safe or safer than Ruby because in Crystal you cannot a method with type restrictions. If there are no arguments, that's maybe more prone to conflicts and I wouldn't encourage that.
Transcript
Play full episode