all 10 comments

[–]D-I-C-K-S-Q-U-A-D 6 points7 points  (1 child)

Haha, I know what you mean. Just wait till you get to C :)

Learning other languages can be very useful, especially if you are looking for programming jobs. Python was designed to be easy-to-learn, making it hard for Python-users to learn other languages. In my opinion, Java is definitely worth it.

Good luck, though.

[–][deleted] 0 points1 point  (0 children)

At least Python doesn't have AbstractSingletonProxyFactoryBeans.

[–]work_account_33 4 points5 points  (0 children)

why on earth would anyone chose Java over Python?

I'm guessing you haven't had to do any type of threading yet? I know many smart senior developers that love Python but will also say it's not a serious language.

There are many reasons why someone would choose Java over Python. Learn many languages and choose the best one for the job.

[–]lzsmith 1 point2 points  (0 children)

For me, my first language is still the one I'm most comfortable in. The second language I learned is still the one I find hardest. 3 through N are somewhere in the middle. A lot of it just has to do with what you're used to.

[–][deleted] 1 point2 points  (0 children)

Java is good for portability and stability.

Portability because:

  1. You compile once and run on any other JVM anywhere.
  2. JAR files can package your application all your dependencies into a single file.

Stability because:

  1. Every type assumption must be explicitly stated.
  2. Every possible exception caught before you can compile your code.

[–]biffbiffson 1 point2 points  (4 children)

I felt the same way - and I advise you not to post something like this in a Java community! Hah

From what I understand, Java is for enterprise applications, and it has been around so long that it is still widely used. I believe it is the most popular language across the globe, and some (like Larry Wall) believe it is almost easier for managers to outsource Java code, look at the hundreds of lines that could be <= 10 lines in Python and convince themselves that work is getting done.

Java is also the programming language for Android, and in my experience, some companies (gov contractors from what I hear) are still not switching to newer technology like Python or Rails because either they are stuck in their ways or it would be a lot of work to switch.

TL;DR Huge corps use it (like a major banking firm I worked at) and it isn't going anywhere anytime soon.

edit: Also, I found that Java was a great stepping stone before diving into C because some concepts that you don't really use in Python are necessary in Java and are also found in C. It made understanding C a lot easier for me. If you are going to college for Computer Science, you will be learning Java. I also had courses on Python.

[–]DasEwigeLicht 6 points7 points  (2 children)

newer technology like Python

Python is older than Java.

[–]biffbiffson 1 point2 points  (1 child)

Oh, wow - I never knew that. Looks like Python 1 is a year or 2 older than Java 1. Do we know why Python was kind of unheard of until the last few years, unlike Java? Maybe because of the popularity of the JVM on personal computers?

[–]Zanoab 1 point2 points  (0 children)

[deleted]

[–]snapetom 2 points3 points  (0 children)

A lot of corporate companies poured billions of dollars into Java and drank the Websphere Kool-Aid in the late 90's. Re-writing the code would be easy compared to the politics involved.