Comment

Comment by dajoh

> It’s the implicit nullability of all reference types which is the mistake, since it leads to undefined behaviour at runtime.

How does the implicit nullability of all reference types lead to "undefined behaviour at runtime" in, for example, Java or C#?

I'm aware that dereferencing NULL pointers in C/C++ is undefined behavior, but I haven't seen this in any other language.

parent dajoh 2 years ago

Discussion

Live from the official Hacker News API

A modern reader for Hacker News · SvelteKit + Skeleton