Constant

Domain: Programming Fundamentals

🎯 Motivation

Some values should never change - pi, the speed of light, a max score. Constants are variables you agree not to modify.

πŸ“‹ Concrete Example

MAX_LEVELS = 50 or PI = 3.14159. By convention, uppercase names mean dont change this’.

πŸ”— Analogy

A carved stone sign at a park entrance - β€˜Park Hours: 6am-10pm’ is fixed and permanent. Everyone agrees not to change it.