3 ms·
Nah, you should be using another value if you care about that. For example in C# a nullable bool would be a fine choice (three values: true, false, null), or al
by tener 6y ago
Nah, you should be using another value if you care about that. For example in C# a nullable bool would be a fine choice (three values: true, false, null), or alternatively Option types.
- taeric 6y agoThis feels like classic blaming the user. :) You can also have better behavior between multiple defaults if you know whether someone gave a value or not. Basically, it is another tool compared to overloading. It should be no surprise that there can be preference on how to use between them.