← All anti-patterns

Software engineering / Programming

Coding by exception

Each newly discovered special case receives another local fix, while the underlying model remains unchanged.

Each newly discovered special case receives another local fix, while the underlying model remains unchanged.

Over time, the accumulation of exceptions can make behaviour difficult to predict. Revisiting the common rule and the distinctions between cases can reveal a simpler representation.

Editorial overview. The linked standalone Wikipedia article was unavailable when this site was prepared.

Recurring responses shape the systems we live in.
Recognising the pattern is the beginning of change.

Selected Works

My first projectProject type