It's 2025, and I'm at a decision point in my programming journey. I want to dive deep into one language and can't decide between Python and Java.
Here's my context: i am a developer with 10 year experience in java and 5 years in python
-
Python: It's dominating fields like AI/ML, data science, web development, and automation. With its growing libraries and frameworks, it feels like a must-know for cutting-edge tech.
-
Java: Despite being older, it's still a powerhouse for enterprise systems, Android development (with Kotlin in the mix), and large-scale backend solutions. Its stability and performance are undeniable.
Hi everyone, so as long as I know, Python is an easier language to start learning programming, however, I might have a greater oportunity of getting a kind of internship or even (long term goal, crossing fingers) a job at a company that works with Java because of connections.
What is your experience?
Videos
I will just be to the point, I just find it fun to learn how to code and want to be able to independent create code create things without error. There’s an interval between where I learn hello world then language I don’t understand. It’s very small and I don’t know where. Is it all important to learn?
is there a good reason to have java as your first language over languages like python or js?
Hi! I'm a junior DevOps engineer and I would like to start developing backend too. I already know intermediate python and worked a little bit with django and I would like to dive deep into python and learn it well.
I asked my supervisor for his advice and he thinks that it's better for me to learn Java first. From his point of view Java is more technical and I can become a better developer by learning the fundamentals with it (like polymorphism, interfaces, data types). He considers python as an uneffective shortcut to learn bad software development practices.
At first he convinced me with his argument but then I documented myself better and I saw that even python has all of those concepts, so I feel like if I'm not lazy and l study python well I can achieve the same expertise I would get with Java.
Since I want python to be my main language I'm essentially very skeptical in using my energies in learning java from zero while I could dive deep in python and get solid with it. It's not like I only want to know python overall, but reading a book of 1600 pages like "learning python" takes time and effort and I feel like I want to make that effort on python, not java.
What do you think about it? I could really use your advice, thanks a lot in advance.
What language is more advantageous, Java or Python? What do you think?
Hi all. I will be doing a software engineering degree, however I have to elect which of three languages ( C#, Java, or Python) I would like to specialize in.
I will be doing a Python course through the University of Michigan via Coursera leading up to this.
I would just like some advice from individuals and professionals that have experience in the industry, if you had a choice of these three languages, which would you say will be the most in demand/valuable for the foreseeable future.
I appreciate your time. Thanks
Hi everyone, I'm trying to decide between java and python based on future job demand and long term career growth. I also want to start learning databases and would like advice on which one to focus on such as PostgreSQL, MySQL, or a NoSQL option like MongoDB. My goal is to build strong job relevant fundamentals.
Hi all. I am a self taught learner of about 4 months now. In my last semester of school (business major), I took intro to programming and loved it. Really wished I did CS instead. I ended up emailing my professor from that class and asked what his thoughts were on self learning.
He told me to learn Python and Java and to have some kind of structure like an online course. Read the pragmatic programmer, and fluent python/effective Java.
I started with python and eventually found the Odin project and switch gears to js and web dev stuff. I am struggling to find a path and stick with it.
Why would my professor recommend those two languages to start with? Do these languages really relate to web dev? What kind of job opportunities can python and java lead to?
Sorry for the stupid question, I just have strange question.
If CPython interprets Python source code and saves them as byte-code in .pyc and java does similar thing only with compiler, In next request to code, interpreter will not interpret source code ,it will take previously interpreted .pyc files , why python is slower here?
Both PVM and JVM will read previously saved byte code then why JVM executes much faster than PVM?
Sorry for my english , let me know if u don't understand anything. I will try to explain
I have been programming for about 5 years now, and I started with Java then moved to Python before returning back to using a bit of both. After getting a good tour of Python, I have come to appreciate the static typed nature of Java. I find the way OOP works in Java to be much more aesthetically pleasing to look at than python code. Of course, there are exceptions to this rule when concepts get more complicated.
Hi,
I am a university graduate who would like to change my career to IT. I want to apply for a requalification course and basically I have two options available - both courses are "Programmer of web applications" - one is in Java and the other is in Python.
I need some help from someone who knows the industry and the pros and cons of choosing either language. I have read a lot of articles and watched youtube videos and it's practically 50:50. I am leaning towards Python though.
I know your first question will be: What do you want to do in IT?
But that's the problem, I don't know. I have never worked in IT and I haven't experienced different types or jobs to be able to know which I like the most. It's like asking me which food from the menu I liked the most before I had a chance to taste it. I like design, so possibly frontend. But I am open to anything. I think fullstack would be a good skillset to have to find lots of work?
What I know:
Java is more complex to write, harder to learn for a beginner. It is used in web development, Android and in a lot of big companies. It is supposedly harder to change fields in IT if you know Java. The popularity of it is slightly decreasing and the community as well (from what I've heard).
Python is easier to write and read, is used in machine learning and AI and databases. Generally slower than Java to execute, has more potential when you are trying to change fields in IT as it is more widely used.
That's what I know. What I need, is help with this question: As someone (a teacher) who is trying to change career and do something that will enable me to find work easily, which language should I choose to learn to open myself to most job opportunities, something that will be a good start, give me most options for the future and will not lock me in in a specific field, should I realise I do not like it. How should I make a decision? Can you tell me in more detail which language is used in which specific types of jobs and what kind of stuff I could do should I learn Python/Java?
Thank you in advance!
Ben
I'm wondering if Java is still worth learning as a beginner in 2024-25, or if other languages like Python or newer options are a better investment. With the evolving tech landscape and the rise of mobile and AI, is Java still in demand? Would love to hear from those who've learned Java recently or are working in the field – is it still a solid choice?
Edit: I'm currently focused on Mobile Development using Flutter, I'm asking this question only for reference. Also thank you for the responses.
Edit 2: Thank you for all of your responses and I have gained a better understanding.
I have learned Java language before and disliked it because I find that the code is too complicated. I find that time is spent understanding the code rather than the idea of the code.
Will Python be a better choice to learn if I am looking for simple code?
Is Python language easier to work with compared to Java language?
Thank you.
Edit: Thank you everyone for your comments.
I’m going to use the time over Christmas to get deeper into a new language and I’m trying to figure what’s better for jobs next year? I’m from a php/JavaScript background and looking to move away from that. I have some experience with both and I’m leaning in on Python as I enjoy that more.
Hey OP personally I'd go python. Then maybe once you get the hang of that take up java.
You can then sneak python in your day to day to write little scripts etc whereas you wouldn't really do that with java.
Python is a great skill to have!
Senior python dev here
Id go Java first because after that learning every other language is much easier. I picked up Python in 2 weeks after learning Java
Cause i start learning Python and its coding tasks are so difficult((
Hi all, it’s the same old question, which language should you start with as someone new to the world of programming.
Typical at university level in engineering majors (Electrical Engineering) you are usually taught C. Thats where i got introduced to programming for the first time. But the way universities are structured, it’s not always the best place to learn programming especially in a non-CS major.
Long story short, I find myself with this passion to dive deep and actually understands what programming is not just a language, but as they say, you have to start somewhere, hence the title statement, where do you start from in 2024?
I narrowed down these options as Python seems to be the most beginner friendly language whereas a languages like C/C++ has always been regarded as the languages to under to understand every other language with ease and especially to really understand the “source code” to programming itself.
Appreciate any advice/experiences, thanks!
What does Java do better than Python?