Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
hardwaresofton
on July 10, 2024
|
parent
|
context
|
favorite
| on:
Don't use booleans (2019)
Yup, definitely a case for enums there -- I don't think the rule is absolute (I'm not sure you should
always
use enums over booleans), but much of the time it seems to be true.
Consider applying for YC's Fall 2026 batch!
Applications
are open till July 27.
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search: