← All anti-patterns
Software engineering / Software design
Input kludge
Input handling grows through ad hoc fixes instead of a consistent approach to validation and unexpected values.
Input handling grows through ad hoc fixes instead of a consistent approach to validation and unexpected values.
The resulting interface can behave differently for similar inputs, leaving users and maintainers to discover hidden assumptions. A clear input contract and consistent handling of invalid values make those assumptions visible.
Editorial overview. The linked standalone Wikipedia article was unavailable when this site was prepared.
Selected Works
My first projectProject type