Linked by vodoomoth on Fri 24th Sep 2010 22:56 UTC
Java Oracle has made some decisions about Java: in order to release JDK 7 in the middle of next year, they have decided to change priorities and specifically, postpone three features: Jigsaw, Lambda and Coin.
Thread beginning with comment 442745
To view parent comment, click here.
To read all comments associated with this story, please click here.
RE[2]: No thanks to Java
by tbcpp on Sun 26th Sep 2010 13:27 UTC in reply to "RE: No thanks to Java"
tbcpp
Member since:
2006-02-06

No, I'm not saying it's based on Python. But in it's current incarnation (.Net 4). C# supports lambdas, dynamic variables, and even includes a SQL like DSL (LINQ). C# is an imperative language with declarative features. In that sense it is like Python. For instance, C#, Python and Ruby all allow you to do something like this:

var array1 = array1.Filter(x => x.Size > 20);

Doing that in Java/C++ would take about 5 lines of code to create a temporary array, filter the data, and then output the results, and it still wouldn't be clear what was happening. With C# the result is clean, elegant and only 1 line of code.

Reply Parent Score: 2

RE[3]: No thanks to Java
by moondevil on Mon 27th Sep 2010 06:44 in reply to "RE[2]: No thanks to Java"
moondevil Member since:
2005-07-08

... With C# the result is clean, elegant and only 1 line of code.


With the added benefit of running only on Windows.

You need to update your C++ knowledge as well.

auto array1 = array1.Filter([] (auto x){ return x.Size > 20});

Reply Parent Score: 4

RE[4]: No thanks to Java
by tbcpp on Mon 27th Sep 2010 12:14 in reply to "RE[3]: No thanks to Java"
tbcpp Member since:
2006-02-06


With the added benefit of running only on Windows.

You need to update your C++ knowledge as well.

auto array1 = array1.Filter([] (auto x){ return x.Size > 20});

Nah....my version would work on both Linux and Windows, (yes I use Mono regularly).

Reply Parent Score: 1

RE[4]: No thanks to Java
by Panajev on Mon 27th Sep 2010 12:20 in reply to "RE[3]: No thanks to Java"
Panajev Member since:
2008-01-09

This is some unreadable code right there (it does make me appreciate the extra "wordiness" of Objective-C):P.

Jokes aside, Java needs a good, understandable, clean, and easy to approach way of building rich and interactive GUI's. There is JavaFX on the horizon, but there is a lot of work ahead to match what .NET applications with or without Silverlight can do with less work put in from the UI designers.

Designing nice GUI's is a pain in Java (it does feel like an afterthought...), and is in Android too (compared to Interface Builder driven GUI's on the Mac/iPhone)... C++ has received some very powerful GUI toolkits like Qt, .NET has received a lot of attention from MS as far as rich User Interfaces are concerned, Objective-C + Cocoa have some very powerful UI oriented features and an awesome tool like IB to help people design their UI's in, etc...

If Oracle does not manage to move Google away from Java in Android, there might be a chance for rich GUI's to push for some change in the way you do GUI's on such systems (although sometimes Google feels a lot less user and developer oriented than Microsoft or Apple...).

Reply Parent Score: 1