2 ms·
I was expecting someone to mention the Crystal programming language. In Crystal, types are non-nilable and null references will be caught at compile time. htt
by mlangenberg 7y ago
I was expecting someone to mention the Crystal programming language.
In Crystal, types are non-nilable and null references will be caught at compile time.
https://crystal-lang.org/2013/07/13/null-pointer-exception.html https://crystal-lang.org/2013/07/13/null-pointer-exception.h...
I certainly recognize that many bugs in Ruby programs announce themselves as `NoMethodError: undefined method '' for nil:NilClass`. So to be able to catch that before releasing code is a very welcoming addition in my opinion.