4 ms·
I think there's a large subset of programmers now who consider null checking (or even the existence of null) to be bad, and prefer something else like exception
by MintPaw 5mo ago
I think there's a large subset of programmers now who consider null checking (or even the existence of null) to be bad, and prefer something else like exceptions or option types. I don't get it personally.
- chuckadams 5mo agoThe existence of null is not the problem, it’s when null populates every single non-primitive type, making every access into a logic bomb unless explicitly checked. When null is a distinct type, there’s no problem at all.