4 ms·
> I can't think of a reason why you would want to declare something as nullable when not declaring anything automatically makes the type nullable anyway. It ca
by afiori 2y ago
> I can't think of a reason why you would want to declare something as nullable when not declaring anything automatically makes the type nullable anyway.
It can more clearly show intent. Is is similar to the argument for using const in javascript: you should use const as much as possible so that when you see a let you know that it is going to be mutated at some point.