News for hackers. Stuff that matters.
Re:Don't Use Booleans by hardwaresofton on Tuesday July 09, 2024 @10:48PM (#40923288)
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.

There are no comments on this comment yet.