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

Replacing booleans with timestamps might be a good idea sometimes, presenting it as The Solution isn't very constructive imo.

Adding a separate table where the presence of a record means 'true' allows recording related state without complicating the main table.

And sometimes a boolean is exactly what you want.





the article presents that as an example of bad advice



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

Search: