Hacker News new | ask | show | jobs
by rf15 107 days ago
Funnily enough that was also my first idea upon reading the headline.

So let's remember: some programmer, somewhere, is right now thinking about building a tri-state boolean because they think it fits their current problem perfectly fine. And they are always wrong.

1 comments

I've implemented trits a bunch of times and have never regretted it.

How you get 5 possible values into a tri state Boolean is beyond me though.