I would personally advise you to go with what you're comfortable with and good at. But starting out I found python easier to learn as a beginner
I definitely do love Python. Is it only good as a Scripting language though?
Python can be used in a wide range of things, it's used in data science, you can code GUI desktop applications, web development using one of its web micro-frameworks like Flask, or even a framework like Django, and of course my favourite, MACHINE LEARNING.
I have to admit, I had a hell of a lot more fun learning Python than I am learning Java.
I love Visual Studio Code and it's simplicity.
Personally, I reckon that if you genuinely feel you "love" a language (as you say you do with Python), then stick at that, at least in the short term. You'll get further learning a language you enjoy than by trying to slog through something you don't, at least in the first couple of years anyway.
You'll find learning your second language is much easier, so don't stress too much about learning "the right one" today.
IMO, at least. :)
It really depends upon what you want to do with it.
Python is good for data science/machine learning, prototyping stuff. Dynamic typing might bite you once you scale to a larger team.
Between Python and Ruby - I would choose Python. It's much better in many aspects and has a larger community of developers. And you are not losing much.
Java is a whole another beast. It is used by a number of enterprise(read big) organizations. There is a reason why Linkedin, Amazon, Google etc., use Java heavily. It scales from one machine to literally thousands of machines(distributed) with a rock solid runtime(JVM).
Some general pointers.
+1 For Kotlin, especially from a professional point of view.
Kotlin is specifically designed to give Java users a language that's conceptually very similar, but has a decent share of modern language features. Being made by Jetbrains, the company behind IntelliJ Idea, you also get stellar editor support for free.
Since it's essentially a superset of Java, you'll be able to derive your Java Skills from learning Kotlin.
My personal go-to language on the JVM is Scala. Some of it's advanced features need to be handled with care but It allows to write a very practical mix of functional and object oriented code that keeps me most productive. It has excellent libraries and frameworks to tackle complex problems.
To tie that into your original question:
I would not recommend to pick up Java. While it introduced lambdas with Java 8, it suffers a lot of the need to be backwards compatible, and is progressing very slowly, as mentioned. There's a high chance that you will need to write Java code at some point, but with Kotlin and Scala, there is little reason why you should do that on your own time.
More than learning languages, I recommend picking up concepts. If you get the chance, pick up functional programming while you're still at university.
My personal favourite is Scala too. But its slightly complicated from a beginner's perspective. As you said, concepts are more important. I learnt Scala and when Kotlin came out I was already familiar with 90% of its features.
Java is moving slowly, but hey enterprise companies move a lot slower as well. They don't adapt to newer Java language features as they come out. You can be polyglot if you learn the concepts and with Java/Kotlin/Scala, it is a lot easier since they all target the JVM.
I think you should use what makes you more comfortable. I have never professionally worked with Java so I'm going to jump to the other two.
I think either choice, be it Python or Ruby, it's not going to disappoint you. I use them every day and sometimes I even get syntax errors because I'm writing Ruby in a Python file or vice versa.
Although I have been using Ruby for quite a while I still think I am more proficient with Python.
For web development you can't go wrong either way. I would start with the most used frameworks for each language: Rails for Ruby and Django for Python.
There are so many resources you will definitely feel overwhelmed :-)
If you have specific questions ask away!
Not in the list but i think you can take a look at golang. One of the best programming language i've ever used.
Thanks for the comment! May I ask what you feel makes it the best?
Simplicity, documentation, strong stdlib, plenty of usefull lib/packages on github AND a one of the best community (with a lot of actions in favor of marginalised people : MOGAI, womens, etc...)
AND tooling, jesus I love Go tools (metalinter, goimports, fmt, ...).
Thank you for sharing great article related to Python vs java. I have shared some important points which help you to know python vs. java.
We're a place where coders share, stay up-to-date and grow their careers.
We strive for transparency and don't collect excess data.