by higherpurpose · 12y ago · 0 comments
What Android needs isn't just a slightly better Java that isn't owned by Oracle, but something more like Python that has the performance of C++, for the next generation of developers. If they're going to deprecate Java in Android and cause everyone a lot of grief over it anyway, they might as well do it right, and for something truly exciting to make people rally around it.
Dart makes me excited, when i am honest :-)
Compare Dart's "shorter alternative" of a bog-standard class ...
// Shorter alternative
class Person {
String name;
// parameters prefixed by 'this.' will assign to
// instance variables automatically
Person(this.name);
}
... with something more modern: class Person(val name: String) // Done.