Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
bandyaboot
on Nov 10, 2024
|
parent
|
context
|
favorite
| on:
Booleans Are a Trap
To me it seems like the real world example is one of applying bandaids to the domain model rather than refactoring it. The boolean flag(s) were a good solution until they weren’t, after which they should have been replaced with something else.
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search: