3 ms·
JSON support is awful, "optional types" means "no types". Thanks, but even TS is better.
by EugeneOZ 10y ago
JSON support is awful, "optional types" means "no types". Thanks, but even TS is better.
- wstrange 10y ago> "optional types" means "no types" While it is possible to write Dart code without using types (hence "optional") - the vast majority of Dart code is written using types. The new Dart compiler also provides a "strong mode" which enforces strong typing in order to generate cleaner Javascript code.
- SureshG 10y agoEnable strong mode. It's pretty neat - https://github.com/dart-lang/dev_compiler/blob/master/doc/STATIC_SAFETY.md https://github.com/dart-lang/dev_compiler/blob/master/doc/ST...