Skip to content
Design Corner Knowledge Base ← Back to designcorner.co.ke
Knowledge Base

Software and Development

Reserved Word

Also known as: keyword (programming)

1 min read Updated November 10, 2026

Definition A word with special meaning in a programming language that cannot be used as a name.

What it is

Words like if, for and class are reserved for the language itself. Using them as variable names causes errors.

Why it matters for your business

Knowing this helps explain odd error messages.

Real-world example

A developer cannot name a variable class, so uses customerClass instead.

Design Corner tip

If code fails with a strange error, check the name is not reserved.