3 ms·
I'm hardly the Dart Defense Force, so I'm not about to justify all their choices, and I share a lot of your annoyances, especially re: threads, data classes, an
by vsnf 3y ago
I'm hardly the Dart Defense Force, so I'm not about to justify all their choices, and I share a lot of your annoyances, especially re: threads, data classes, and tagged unions, but what does people using List<int> have to do with Dart itself? I don't hate on Java-the-language because the libraries are full of BeanFactoryFactory().
Still, I stand by my claim that it's C#-lite.
- zigzag312 3y agoYou can't do List<byte>, but need to use special types like Uint8List. This was not always available, so List<int> is sometimes still used even in official Google libraries. If it had value types you wouldn't need these special lists. I agree that overall it feels like C#-lite, plus some baggage from early days when it was designed as an alternative to JS. It will probably become really nice language in a few years.