GeistHaus
log in · sign up

Saying more than nothing

lknuth.dev

As I was reading around on StackOverflow, digging through other peoples source code, I spotted multiple methods returning null in a variety of circumstances. I also found rather imaginative ways to handle null-values. Although there is nothing wrong with null, the concept of null-pointers seems to be somewhat misunderstood. Let’s change that. What are null-pointers? Wikipedia has the following to say: A null pointer has a value reserved for indicating that the pointer does not refer to a valid object.

0 pages link to this URL

No pages have linked to this URL yet.