Y
Hacker News
new
|
ask
|
show
|
jobs
by
twisteriffic
490 days ago
We actually did use booleans, I just found it easier to explain using enums, and the code would have been simpler if we'd done it that way.