News for hackers. Stuff that matters.
Re:Dart vs Java — the DeltaBlue Benchmark by pgsandstrom on Thursday May 23, 2013 @02:37AM (#5755626)
Much more interesting than the benchmark was the ease with which the author seem to have translated dart to java. I'm still new to web development, but each line of javascript I write makes me long for a more java-like language.
Re:Dart vs Java — the DeltaBlue Benchmark by chrisbu on Thursday May 23, 2013 @03:04AM (#5755667)
"Much more interesting than the benchmark was the ease with which the author seem to have translated dart to java"

Dart was initially slated for being "boring". It's comments like this that start to show that being familiar and unsurprising is sometimes a worthwhile goal.

Re:Dart vs Java — the DeltaBlue Benchmark by k__ on Thursday May 23, 2013 @03:52AM (#5755756)
really? It's the opposite for me.

When I write Java I always feel like I'm using bigger tools than needed. Like anonymous classes, when I just need a anonymous function etc.

Re:Dart vs Java — the DeltaBlue Benchmark by tosh on Thursday May 23, 2013 @04:07AM (#5755778)
When people say they like/long for Java I usually understand that they like the tooling support and robustness of language/api/libraries and ecosystem in general.

I think Dart looks very promising in that regard especially when you compare it to JavaScript without feeling as heavyweight as Java.

Dart is actually a very terse and expressive language. Less ceremony and feels much more like other dynamic languages like Python or Ruby. Yet having optional typing and simple semantics it is one of the dynamic languages with extraordinary tooling support.

In a way Dart gives you the best of both worlds. It takes the good parts and leaves out the bad :)

Re:Dart vs Java — the DeltaBlue Benchmark by k__ on Thursday May 23, 2013 @05:13AM (#5755905)
Yeah, the tooling of Java is nice. But it kinda seems like Java would be not usable without them. Also the code-generators are giving me the willies D:
Re:Dart vs Java — the DeltaBlue Benchmark by PommeDeTerre on Thursday May 23, 2013 @07:48AM (#5756283)
It depends on the style of Java code being written.

There was a period from 1995 until around 2001 or so where much Java code was developed without using IDEs. It was generally simpler, with shallower class hierarchies, and much less emphasis on design patterns. Such code could be easily written, understood and maintained without using extensive IDEs and other tools.

Things changed once Eclipse and other IDEs started to become more widespread, and some people went overboard using design patterns that are impractical to work with without the use of IDEs, or otherwise introducing complexity that just didn't arise earlier.

It's still possible to write the simpler, sensible style of Java code. It's just that most people who lean that way end up using C++, Go, Python, or some other language instead.