Representing Absence
Sometimes the honest answer is there is no value here. A user skipped their middle name. A search found no match. A function did its job and has nothing to hand back.
Programming needs a way to say nothing, and it's genuinely different from zero, from an empty string, and from false. Zero is a number. An empty string is text with no characters. Nothing is the absence of any value at all.
Mark this lesson complete
Signed in, your progress follows you to every device.