|
|
|
|
|
by jriddycuz
5363 days ago
|
|
The worst of both worlds: Dart fails to provides the advantages of static languages, without compensating by the flexibility of dynamic languages. This was my impression exactly when I first read about Dart. This is the language that Google wants to replace Javascript? Please. Javascript may have some strange design quirks (or outright flaws, depending on who you talk to), but at least it has the sense to have a meaningful boolean context. I understand that you can't try to revolutionize everything if you're targeting a wide audience, but this just looks like decaffeinated Java. |
|
"Meaningful boolean context"s have given us things like the abundant "if (!!foo)" in JavaScript. And then he goes on to criticize absence of auto-conversions, which are the other plague of dynamic programming languages (see "===" & friends).
I don't see how anyone could actually want that kind of litter in his programming language.