Hacker News new | ask | show | jobs
by L33tCrown 1784 days ago
Dart is much more similar to C# than JavaScript
1 comments

It's the worst of all worlds TBH. It has terrible reflection and metaprogramming capabilities which leads to ridiculous solutions like code generators at every step. Type system is super weak (eg. it just gives up on type checking ternariea for eg., had multiple runtime type errors because dart couldn't catch it at compile time), but at the same time also closed and very inflexible. Working with immutable types is ridiculously bad compared to C# or JS. Serialisation is terrible as well.

Flutter would have been a much better framework if it was built on typescript