▲ | RaftPeople 5 days ago | |||||||
If you need to store a value that has two states, use a boolean, don't overcomplicate it unless there is real value in creating the complication (which there is value, sometimes). Regarding contradictory states: Given that just about no DB is in 5th normal form, the possibility of contradictory states exist in almost every RDBMS, regardless of booleans. It seems like an argument that doesn't really have any strength to it. | ||||||||
▲ | monkeyelite 4 days ago | parent [-] | |||||||
> If you need to store a value that has two states, use a boolean Please refer to the article for context of this discussion. Because the databases you have worked in are bad means we should not teach or advocate for correct data structure design? | ||||||||
|