Code that scribbles branches using `if` or `switch`. It works. But half a year later, every time a specification is added, ...