the.com/null pointer exception

the computer politely asking a question about someone who doesn't exist.

means an error thrown when code tries to use a reference that points to nothing instead of an actual object.

from traces to tony hoare's 1965 invention of the null reference, which he later called his billion dollar mistake for how much chaos it unleashed across every language that copied it.

for instance

java npefamous enough to have its own stack overflow megathread with millions of views

c null derefcrashes segfault instead, same disease different symptom

javascript undefinedcannot read property of undefined, the web dev's nightmare

swift optionalsapple's 2014 language made you unwrap null explicitly to dodge this

the.com/
what’s happening now · the.com · generated