Hacker News new | ask | show | jobs
by bombita 3041 days ago
> But back to Flutter, it uses Dart. I honestly don't see the point of Dart. Maybe it's just me but I don't want optional typing, or rather optional type hinting. I want static typing. The romance with dynamic typing over the last decade I think is on a downward trajectory with the rise of the likes of Go (really a better Python) and Rust.

FYI Dart2 is no longer optionally typed.

1 comments

Dart2 is optionally typed in that you don't have to enter the types. It's different from original Dart in that previously, if you didn't enter the type Dart would assume you meant "dynamic", whereas Dart2 will infer the type based on what you are actually doing. The net result is that the compiler/analyzer will catch more bugs but the code looks more or less the same.