3 ms·
Yeah, it was super weird how the subject migrated from programming theory to a rant about stack overflow. On the actual topic, I think a good compromise is wha
by _bxg1 9y ago
Yeah, it was super weird how the subject migrated from programming theory to a rant about stack overflow.
On the actual topic, I think a good compromise is what typescript and I think rust do, which is, a value is only nullable if you explicitly declare it as such. It forces you to be judicious, while still allowing you the option when you need it.
- sklivvz1971 9y agoI've been trying that, but so far I don't find a big advantage, but it _is_ a bit annoying to have to annotate all types that could be null. This is to say: it could be good, or it could be another "exceptions in Java" moment