News for hackers. Stuff that matters.
Re:Ask HN: Do You Use Enum for Yes, No, Unset? by aliswe on Friday June 17, 2022 @04:59PM (#31784298)
In C# I would definitely use the nullable "bool?" then you can use null coalescing operator to default to either true or false: "value ?? false"

There are no comments on this comment yet.