Re:Programming Language Rankings: February 2012
by trimbo on Monday July 02, 2012 @12:40PM
(#4189579)
I chose Java for a major (non-android) project last year (other potential choices were Ruby, C++ and Scala). It's a great middle ground. Statically typed, fast and well known with very good tooling. I've ended up loving it because it works well for what it is and is super practical, not because it's a beautiful, perfect language.
Re:Programming Language Rankings: February 2012
by runn1ng on Monday July 02, 2012 @04:06PM
(#4190693)
What I really dislike on Java is that you have to repeat yourself, over and over and over.
For example, you have to write all these getters and setters ad nauseam, even if all they do is just setting the damn variable. Or the anonymous classes, the syntax is horrible.
Now I understand that the object model is simple and easy to understand, but still, I prefer Scala more. It works with java, but it's many times easier to actually use.
Re:Programming Language Rankings: February 2012
by mark_l_watson on Monday July 02, 2012 @07:39PM
(#4191662)
Unless I am coding for a "picky customer" I use what I refer to as Java Lite: public instance variables, shallow package hierarchy, etc. I have been using Java since the beginning and have written several books on Java so (at least for my own stuff) I feel comfortable breaking the rules.
I also format code to match a small but wide monitor (MacBook Air 13) and although a lot of people would understandably not like the longer line formatting using up to 100 columns, my code density is good - a typical method easily fits on my display. I also favor short classes.
Re:Programming Language Rankings: February 2012
by Zigurd on Monday July 02, 2012 @12:12PM
(#4189436)
Java is on a rocket due to Android. Now that the Oracle threat has receded, that trend could accelerate.
Re:Programming Language Rankings: February 2012
by cageface on Monday July 02, 2012 @12:31PM
(#4189524)
This has to be the explanation.
You can also hedge your bets with Java a bit, because unlike Obj-C it's important outside mobile apps.
Re:Programming Language Rankings: February 2012
by reirob on Tuesday July 03, 2012 @06:59AM
(#4193487)
I can second it. Some people I know, never used Java before in their life and started now to code apps for Android.
Re:Programming Language Rankings: February 2012
by jridgway on Monday July 02, 2012 @02:37PM
(#4190207)
I learned Java specifically for Android, but I really like it for all around development. C# is probably better, but it owes a lot of its success to Java IMO.
Re:Programming Language Rankings: February 2012
by adrianhoward on Monday July 02, 2012 @02:05PM
(#4190025)
It's generally true that the popular language is never the cool language. Except maybe C.
Re:Programming Language Rankings: February 2012
by rbanffy on Monday July 02, 2012 @02:40PM
(#4190221)
Objective C, Python and Ruby are very popular and cool ;-)
Re:Programming Language Rankings: February 2012
by recoil on Monday July 02, 2012 @09:37PM
(#4192025)
I wonder how much of this popularity is attributable to the success of Minecraft/Notch.
Re:Programming Language Rankings: February 2012
by reirob on Tuesday July 03, 2012 @07:02AM
(#4193500)
While Minecraft is really a very nice idea it let me feel the disadvantages of Garbage Collection. On three different machines with three different JREs I had to tweak the start-up of the JVM for Minecraft and still it comes to lags and sometimes it just stops.
Also, I wish Scala was more popular :)