4 ms·
Based on my own experience, it doesn't feel like java at all. It is very easy to learn for those who know java, or javascript, or C# etc - that's true. But the
by resource0x 9y ago
Based on my own experience, it doesn't feel like java at all. It is very easy to learn for those who know java, or javascript, or C# etc - that's true. But the "look and feel" is different. And it's not only the language - libraries (e.g. collections) are very well designed. Just try it out- you will like it. As for flutter - there are novel, original ideas in there. It's not a copy of something else.
- bschwindHN 9y agoMaybe "feels like" is too subjective but it absolutely feels like Java to me: * Object-oriented with inheritance (sharing the same keywords such as 'class' and 'extends' * Non-optional semicolons * Constructors, method overriding, calling `super.whatever` in your overriden methods * Presence of null * A base Object class for all objects in Dart, with hashCode() toString() methods These are mostly superficial observations, and it's not a criticism of the language, but it certainly feels like Java to me, more than Scala or Go does.
- pjmlp 9y ago* @Override annotation instead of a proper keyword One of my pet peeves with Java.
- fauigerzigerk 9y agoTrue, there are many similarities. But it seems to me that the author of this article makes Dart appear even more like Java by ignoring Dart features and idioms. For instance, what's the point of those Java style getter methods in the Movie class? These are public instance variables after all, and Dart has special property syntax to transparently wrap instance variables if and when the need arises. I know next to nothing about Dart. So maybe there is a reason for this weirdness. But I rather suspect that the author has written a lot of Java and almost no Dart in his life.
- moocowtruck 9y agototally agree, at first i thought the same thing.. what is this java ?? then i wrote a bunch of dart.. it is a fantastic language and ecosystem.. and the tooling is excellent. VS code dart plugin is awesome
- bpicolo 9y agoAre you forced to resort to DI or verbose composition to make it reasonably testable? That's my metric for when languages feel too java-y.