Re:Ask HN: Do You Use Enum for Yes, No, Unset?
by dathinab on Friday June 17, 2022 @04:53PM
(#31784225)
I would say using null as 3rd state is only ok iff it's part of the domain logic and the 3rd state is literally no choice was made, i.e. nothing, i.e. null.
[ Parent
| on HN ]
There are no comments on this comment yet.