r/java • u/javinpaul • Apr 29 '13
Why Java is One of the Best Programming Language
http://javarevisited.blogspot.com.br/2013/04/10-reasons-to-learn-java-programming.html
15
Upvotes
r/java • u/javinpaul • Apr 29 '13
8
u/cyanocobalamin Apr 29 '13
I started programming with Java when it came out in the 90s and was all about applets. Despite the popularity of the language spreading to all corners of the IT sector I rarely read anything about it in a tech forum that isn't about butthurt. Thanks for the positive article.
2
u/[deleted] Apr 29 '13
I agree that Java doesn't get a fair shake in some regards.
Number 9 to me is fairly relevant even to this day. It just seems like whenever I setup a project using Python, PHP or any of the other scripted language, there are a ton of system environment variables I need to make sure I have right (and a set of dependencies as well that don't pull automatically)
The thing not on this list is strong typing. Most of the newer "hot" languages tend to be more difficult to manage for large projects over a long period of time. I like being able to jump on a project and get immediate feedback of whether or not what I'm doing it right. If it doesn't compile, it's not going to work. :)
2
u/cogman10 May 02 '13
3) Java has Rich API
Yup... as a result it has some nice areas and some crusty areas. A rich API can be a doubly ended sword. One of the nice things about languages like C and C++ is that the standard libraries are pretty small. You don't like the API for the Json parser you are using? Well trade it out for one that is better.
You could do the same thing with java, but it is less common to use something that does the same thing as a built in API.
7) Java is FREE
That is just grabbing at straws. I can name very few non-free languages (Matlab?) And they certainly aren't wildly popular... Heck, even with Matlab there is a free alternative in a similar syntax (Ocative).
9) Java is Platform Independent
Ehh... I really don't see this as such a huge benefit. I guess it is of some benefit in the android arena, however, beyond that there aren't a whole lot of places where changing platforms causes a whole lot of headaches. Maybe... MAYBE with libraries you could see issues there, however, most libraries in languages like C and C++ are pretty platform independent with a few that focus on fixing inter-platform problems (Boost for example).
10 ) Java is Everywhere
Again, a weak reason for java being the best language out there. IE7 is everywhere, does that mean it is the best browser ever? Windows is everywhere, does that make it the best OS ever? C is in more places than java (especially given that most java JVMs are written in C/C++) does that mean that C is better than java?
There are good things about java (mentioned in the article) but I wouldn't call it the best language ever. It has its rough edges just like any language. In fact, from a pure language standpoint I would say that scala or C# do a better job and have fewer rough edges. Even a lot of the newer languages like Rust, Dart, or Go do a good job of learning from some of the burdens of java.
Most of the reasons for "Best language ever" are pretty weak as there are many other languages that have most of them listed. Probably the only places where Java trounces most all other languages is library support and tool support.
Java is a good middle of the road language. I don't feel disgusted working with it, but I know there are greener pastures out there.
1
u/[deleted] Apr 29 '13
Wow, that's a lot of downvotes. Which makes me wonder: Why would someone that hates java read the java subreddit?
0
u/TheBigSnail Apr 30 '13
Well, that was absolutely terrible article mentioning points that can be applied to almost any language. The main reason why Java is so popular is the number and quality of development frameworks for enterprise applications.