Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

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.



Consider applying for YC's Fall 2025 batch! Applications are open till Aug 4

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: