Hacker News new | ask | show | jobs
by Xeamek 1076 days ago
>12. Null pointer deref.

In java you'll get an exception, while in C you might dissapear your cat. Those 2 are quite incomparable when talking about "dangerous-ness" of a mistake

1 comments

And C# is making references non-nullable by default.
Kind of, it doesn't work that well with existing libraries, and because of that, even when you enable it, it is only a warning.