Software Engineering ยท Code Quality
A literal value embedded directly in code with no explanation of what it represents, instead of being assigned to a named constant.
Example: if (status == 7) vs. if (status == ORDER_SHIPPED).
In practice: Extracting the value into a named constant not only documents intent but means the compiler or IDE can find every usage for you if it ever needs to change.