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 442833
To view parent comment, click here.
To read all comments associated with this story, please click here.
horrible hack for marketing purposes.
by sergio on Mon 27th Sep 2010 17:58 UTC in reply to "RE[5]: the less the better"
Member since:

Generics was implemented for marketing purposes (even Gosling was against it). In 2005, you have to have "generics" in the feature list because It sounded cool and trendy (and C# had it).

Now, It's the same story with Lambda, Closures and so on.

Google uses java 1.4 for Android for a reason: They're smart. Simplicity and coherence are better than any other feature.

IMHO If you want syntactic-sugar then use an scripting language like Groovy, JRuby or a DSL!!!

Reply Parent Score: 2

drahca Member since:

Generics, as implemented in C#, are a powerful language feature which reduces the number of lines of code needed, improves type safety, increases code speed and decreases memory usage.

Of course in Java, generics is implemented as syntactic sugar, and only manages to reduce lines of code needed but doesn't actually do anything beside that. They should have made a clean brake.

What Gosling thinks is IMHO irrelevant. He created a language without unsigned datatypes, enums or generics although programmers requested them. Also the whole strict FP thing is a mess. That you characterize Java 1.4 as C of Object Oriented Programming is baffling to me. C is elegant in its simplicity and never tries to dumb anything down, Java does exactly the opposite.

Reply Parent Score: 1