Hacker News new | ask | show | jobs
by loup-vaillant 3094 days ago
The Expression Problem¹ often favours switch statements (sum types even more so).

https://en.wikipedia.org/wiki/Expression_problem