Software Engineering ยท Product & Engineering
A built-in constraint that prevents a system or user from taking an action known to be incorrect or unsafe.
Example: A form that won't accept a negative price.
In practice: Guardrails work best when they fail loudly and immediately โ a validation error is better than silently letting bad data through to cause problems downstream.