Settings

Theme

Supporting non-nullable types in Dart

code.google.com

2 points by exterm 11 years ago · 1 comment

Reader

extermOP 11 years ago

Very interesting discussion, although there already are solutions to some of these problems in other type systems.

Erlang also has optional type annotations via the dialyzer tool and all types are by default non-nullable.

Generally I think that the dart language implementors should try harder not to copy language design fails from Java / C++, like null-pointers or half-baked enumeration types.

Keyboard Shortcuts

j
Next item
k
Previous item
o / Enter
Open selected item
?
Show this help
Esc
Close modal / clear selection