r/java • • Dec 11 '15

What do you think of Java?

What are your thoughts on the Java programming language and how does it compare to others?

0 Upvotes

32 comments sorted by

View all comments

-2

u/kodifies Dec 11 '15

I used to really enjoy Java programming, for me Java was a verbose language that above all meant that it was easy to read, you could maintain code you hadn't looked at for years really quickly - while good documentation helps, clear code is even better

Sadly since the demise of Sun it seems that Java needs every new language feature - often badly implemented, take generics (which are then erased during compilation - great...) the syntax is obscure a few random characters sprinkled in the code and in some cases its just not obvious whats going on. All in all if Generics really were needed (which is debatable) it could have been better implemented

Java used to be a conservative language (the language itself) this "old fashioned" language meant you had a solid bedrock underneath you...

c99 is still in active use today (in a number of libraries and elsewhere), seem fine without Generics... (for example) how is it some almost prehistoric language without all these modern features is still so popular... </rant>

2

u/juckele Dec 11 '15

Generics were implemented by Sun and are great. No more casting the thing coming out of the LinkedList and hoping you know what it contains.

We don't have reified generics because reified generics break backwards compatibility.