Java Vs. Python. Which to learn?

After spending a lot of time repeatedly trying to pick up C++ I'm changing gears in favor of a more user friendly programming language. I also wanted something that worked extremely well cross-platform. These two languages came highly recommended. I like how little code needs to be written for python and the "weak typing," although I do appreciate that Java is a bit faster and the structure is more similar to C++ to which I'm already familiar. It also does garbage collection so hopefully it should help take the pain out of what I felt trying to learn C++. Although I think the big push is going to be that Java can also be used programming for mobiles and that could be the breaking point over Python. For the time being I'm going to be trying out Java and eventually QT, and if there's a compelling reason to switch to Python I just may. Although If I were to start everything over, Python definitely seems to top the list for a great language for beginners to learn.

1 comments:

Unknown said...

Hi, I think you should stick with C++. Java Enterprise programming is in my experience a monotone and low-rewarding (though it pays decently) experience. Also, Java is pretty much a direct descendant of C++, though in the eyes of many it's sacrifices some best practices for convenience. Since you're looking into Python, I'd say you should also look into Ruby. The tools available for ruby are amazing (Cucumber, Rspec, etc).

Te be realistic, it really depends on what you're going to do. I generally use C for my own utilities, Java and Php because their required in my day job, Ant for scripting and deployment at work, Ruby for all scripting needs everywhere else, and Ruby/Rails/Sinatra for all my webwork outside (and some, but very little at work). I'm also learning some Clojure for good measure. Choose the language you need to get the job done correctly, fast and efficiently.

Post a Comment