Hacker News new | ask | show | jobs
by nicbou 1031 days ago
The example is not a poka yoke.

A poka yoke is an implement that prevents or calls attention to an error state. It's shaping objects so that they can only be inserted a certain way, it's a flexible barrier that bumps against tall vehicles before they hit the tunnel entrance.

An enum is not that, I think.