hard-coding

Writing a fixed value, such as a colour or size, directly into code instead of referring to a named token or setting.

In more detail

Hard-coded values must be found and changed one by one, and they drift apart over time. Tokens replace them with one named source.

Related terms

Taught in

References

Certification courses