Nil

Noun · Development

Definitions

  1. A value representing the absence of data — called nil in Ruby, Lua, and Go, null in Java/JS/C#, and None in Python. Often a source of runtime errors when not handled.

    In plain English: A special value meaning 'nothing here' — the programming equivalent of an empty box.

    Example: "attempt to index a nil value — Lua's polite way of saying you forgot to initialize something."

Related Terms