3 ms·
Yes, Dart is amazingly broken for a modern language. This compiles: List<Animal> animals = [Dog()]; List<Cat> cats = animals; What is a static type sy
by continuational 8y ago
Yes, Dart is amazingly broken for a modern language. This compiles:
List<Animal> animals = [Dog()];
List<Cat> cats = animals;
What is a static type system worth if it doesn't catch type errors at compile time?
- fcurts 8y agoDart 2 has a sound type system and catches this at compile time.