Some claim null is a mistake. I will counter and say that null not being exportable within the type system was the real big mistake.
Languages where you can express if something can be null or not are a joy to work with and remove a whole class of errors.
That being said, I still don’t really understand the value proposition for Dart. Through different versions it’s morphed in the classic solution-looking-for-a-problem way (eg the optional typing). Did we really need this when Java, JavaScript, Python and Go existed?
Languages where you can express if something can be null or not are a joy to work with and remove a whole class of errors.
That being said, I still don’t really understand the value proposition for Dart. Through different versions it’s morphed in the classic solution-looking-for-a-problem way (eg the optional typing). Did we really need this when Java, JavaScript, Python and Go existed?