What language is more advantageous, Java or Python? What do you think?
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.
Videos
is there a good reason to have java as your first language over languages like python or js?
I just started learning full-stack development from an institute in Bangalore. The course covers both Java and Python. I’m confused about which one to focus on — is Java still relevant and does it have a future?
The course includes:
Programming (Java & Python) Git DSA Databases Web frameworks HTML, CSS, JS React Automated testing Apart from these, are there any other technologies I should keep an eye on to stay relevant in the future?
Would really appreciate some advice!
What scenario calls for which language over the other? Both have similar capabilities but which of the two would be superior as far as for a full stack dev to know?
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 does Java do better than Python?
Which has more scope in backend development?
After December we will move away from Assembly at work (I work there as an apprentice and they want me to learn it, they don't actually use it). I get to choose between Java and Python. I will learn the other one later anyway, but in the beginning, which should I take? I work there as a Software developer with only very little pre knowledge.
Python is more like a handy swiss army knife Java is full blown war Tank. I would prefer java.
I had a lot of luck learning the easier things like decision statements and loops with python, but learning OOP and some more complex things was a lot easier to understand with Java. Don’t think you need to learn just one, focus on the concepts!
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?
Hello all,
I'm thinking about moving a legacy Java application to Python. It's a Tomcat WAR app, very business-oriented, using Hibernate and inner threads. It uses many Java jars that automate various tasks. It's a big enterprise app.
Before you say "if it's working, leave it," this is a management decision, and there's nothing I can do about it. I would like to know what Python is missing that Java has .
thanks
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
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?
I'm a web developer working with HTML, CSS and PHP and I know enough Javascript to get by. When I was a kid I used to code in Visual Basic, and I wanted to get back into that style of programming. So I started taking a C Sharp course.
However, I'm starting to think I'm really marginalizing myself by learning C sharp, because it seems really specific to enterprise apps (or games with Unity) and not widely used. I'd rather learn something more relevant to the industry, particularly that I can use with web applications, but also standalone Windows or console apps.
So now I'm looking into Java vs. Python. I've heard Java is the better place to start because it's easier to learn and more familiar with C languages and Javascript. Knowing Java might also help me improve my JS. But I feel like most of the interesting applications I see are written with Python. I know you can do those same things in Java, like machine learning and web scraping apps, but I haven't seen it done.
Can someone please give me an example of the kinds of applications people are building with Java vs. Python?
-
They can both do the same things. They each have some strengths and weaknesses, which are only important if you actually know how to take advantage of them.
-
Knowing java will not help you with JS anymore than python or any other language.
-
I would worry less about what is used for what, and worry more about your personal preference. Try them out, see what clicks better for you. Don't learn a language because it's the hot thing of the week, java and python programmers will be needed for a long, long time.
That's purely my personal take on it, someone else will come around and have a much more detailed answer which will probably be more to what you are looking for.
I'd rather learn something more relevant to the industry, particularly that I can use with web applications, but also standalone Windows or console apps.
Your use case perfectly describes C#, though. It can be and is used for everything you listed.
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.
Hey everyone,
I've been diving into the world of backend development and I'm curious about the prevalence of Java and ASP.NET in enterprise applications despite the rise and capabilities of Python.
Java, in particular, seems to be on a decline in recent years, yet it's still in demand in enterprise world.
I'm torn between the decision of delving into Java Spring, ASP.NET, or exploring Python with Django for backend development. All these frameworks seem robust and capable of handling large-scale applications, but the differences between them are somewhat blurry to me.
For instance, Java, ASP.NET, and GO have been the stalwarts in the enterprise world, but Python's versatility and ease of use have gained considerable traction. Is it worth investing time in Java Spring despite their decline? Or should I pivot towards Python and explore its potential in the backend, especially with frameworks like Django and a plenty of packages available?
I'd love to hear your experiences and insights on:
Why do you think Java and ASP.NET are still prevalent in enterprise applications despite their decline?
Is Java Spring still a viable choice for backend development compared to Python and Django or GO?
What are the key differences between these frameworks in terms of performance, scalability, and ease of development?
I believe all these frameworks have their strengths and weaknesses, and the decision might vary based on the project requirements and industry demands.
Your perspectives, experiences, and suggestions would be immensely helpful in guiding my decision on which path to pursue in backend development.
Looking forward to a lively discussion and learning from your valuable experiences!
I’m sorta stuck at a pathway where I need to either dive deep into java or Python web development. As much as I would like say I can do either and still be employable in the other, it just doesn’t work like that where I live. You’re either a Python web developer or a Java one.
For the past year I have had python development experience in IT Automation style tasks. essentially taking things that the it team does and automating it into a web application. It was nice because I was able to make new features. Now, I’m working on java development on a larger project and it sorta sucks cause all I do is bug fixes and everything is slow.
I’d love to work for a large company like what I do now but they all require java. They rarely ever want a python developer unless you’re DevOps. So I can continue what I’m doing now to get java experience and then be able to score a nice java enterprise job hopefully in the future.
Or I can jump ship and try to find a python development job, but a lot of the positions aren’t pure software engineering and are mainly in startups but I don’t want to work more than 40 hours a week. But, it does seem nice because the python development usually means the product is new so there’s a lot of features to be worked.
There is another company that is pretty much hiring people for another IT automation effort which is almost EXACTLY what I did before and I could probably score a raise.... the only thing I’m nervous about is if I go down this python web Road, all the companies in my area always want java developers so I feel like I’ll be starting further and further from being able to stay at large corporations unless I go into DevOps or something.
I mean I like DevOps as in development of operations and tools, but I don’t like the ops side. Standing up and maintaining tools like Atlassian, Docker and stuff is sort of boring to me. I like writing out code.
I’m working on java development on a larger project and it sorta sucks cause all I do is bug fixes and everything is slow.
I mean what did you think the industry was? Develop some cool crazy new algorithm every single day? No. Bug fixes. It's called work and you're given a paycheck for a reason.
Personally I think you should study Java but I'm partial to the way big companies operate, and I think it's at least better than start-ups for new grads.
I’m working on java development on a larger project and it sorta sucks cause all I do is bug fixes and everything is slow.
That's how most big company work is.
New stuff is very rare.
That's not to say you should not go down the Java road. That's just how things are most of the time.
I will start out (new grad) as a full stack developer in a banking firm.
I have been given the choice to either become a python dev(flask framework) or java dev(spring framework).
Furthermore, I am proficient in Python and flask (my previous internship was with flask) while almost a newbie in java, but I feel being a java developer would help me in the long run.
Would it be beneficial to start my career as a python developer or java developer?
Any advice is really appreciated as my family doesn't have tech background.
Edit: I opted for java but as it is with any big org, they put me in a python team 😂.
Got to work on a data science project and use flask on day to day basis. Since the senior devs in my team are originally java devs, the code base is almost like java with the typing, oop based etc.
I learn new stuff every quarter and I like python. So happy with how fate turned out
When I picked up programming I started with Python but now mainly use Java. I want to do frontend so I just recently started learning JavaScript. Before I thought JavaScript was a language for frontend only, but now I realized that it could be used for backend and I'm thinking why don't people recommend JavaScript since it has the same concepts as Python and Java but it has more uses?