Null

noun

say it: “NUL” /nʌl/

A reference that points at no object at all.

What is null?

Null is a reference that points at no object, like a note that says "nowhere". C# and Java write it null, Python None, and JavaScript and TypeScript null (or undefined for a value never given). Following it, such as asking for special.count when special is null, stops the program with an error, so check before you use it.

In a sentence

  • “Today's special is null, so the code checks before it reads its name.”

Level: Apprentice · More Software Development terms at this level

Updated

In other subjects