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

Software and Development

Constant

Also known as: Const

1 min read Updated November 10, 2026

Definition A named value in a program that does not change, such as a tax rate.

What it is

Constants store fixed values like VAT_RATE = 0.16, making code clearer and easier to update.

Why it matters for your business

Storing values like tax rates in one place makes changes safe and quick.

Real-world example

When VAT changed, a developer updated one constant instead of hunting through code.

Design Corner tip

Keep business rules like tax rates configurable.

Learn more in these guides