lukad

joined 1 year ago
[–] lukad@programming.dev 10 points 1 year ago

Using a nullable Boolean to represent 3 distinct states just adds confusion and complexity to your system. In most cases I would prefer to use an enum with 3 fields which is non nullable.