4 ms·
I quite like the way dart handles nulls.
by hgyjnbdet 2y ago
I quite like the way dart handles nulls.
- hi-v-rocknroll 2y agoThe way Crystal and Dart 2 handles it? Null as a separate and unique type unrelated to Object where type unions solve the problem using syntax like `String?` that is equal to `String | Null`.
- hgyjnbdet 2y agoYeah, means I don't need to worry about null unless I explicitly allow null.