Java is very fast. Java is very secure. Java has a gazillion of great code libraries. Java has static typing to save you from stupid coding errors. Java does not use whitespace for logic. need more? Answer from team_broccoli on reddit.com
🌐
Reddit
reddit.com › r/cscareerquestions › python or java web development?
r/cscareerquestions on Reddit: Python or Java web development?
June 13, 2019 -

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.

🌐
Reddit
reddit.com › r/webdev › when to choose python over java or java over python?
r/webdev on Reddit: When to choose python over java or java over python?
May 28, 2021 -

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?

🌐
Reddit
reddit.com › r/learnprogramming › learn java or python?
r/learnprogramming on Reddit: Learn Java or Python?
June 6, 2023 -

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

Top answer
1 of 2
5
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). True that Java has way more boilerplate than Python due to the full Object Oriented paradigm. False that it is more difficult to change fields False that the popularity is decreasing as well as the community. Java is the enterprise language #1 and stays there simply because there is already way too much Java out there 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. Python has way more use cases than you list for it. The very web site we are communicating on is running on Python Yes, it is somewhat slower, but it can use precompiled fast libraries written in C/C++ for speed Python does not have more potential when changing fields and is not more widely used The above said: yes, it is a 50:50 chance. I would say that learning Java makes you a better programmer, though. Python abstracts way too much and has too many "convenience features". Don't get this wrong, though. Python is a great language, but so is Java. If you haven't been exposed to programming, I would still suggest Java. The expressive nature, verbosity, explicit static typing, excellent tooling, and excellent elaborate error messages make it an ideal first language, even though the very first steps are more difficult. Python on the other hand has an extremely easy entry, yet, the implicit typing can cause problems that beginners will easily stumble over and then be left dumbfounded. The error messages have improved lately, but still are by far not as clear as Java's. Yet, don't overthink the whole. The first language you learn will definitely not be the last and every consecutive language will be easier. In the beginning when you start from 0 you are battling at two fronts: you are battling with the vocabulary and grammar of the programming language (the easier battle) and you are battling with creating detailed step-by-step algorithmic solutions to problems (actual programming - the difficult battle). Once you understand that learning a programming language only is a necessary evil to tell the stupid computer what we want it to do and that the actual programming, namely analyzing and dissecting problems and then developing detailed step-by-step algorithms to solve that problems are two distinct, decoupled activities you will also see that programming languages are just tools to express trains of thought. Once you can program, the actually used programming language becomes secondary. Sure, the paradigms, the vocabulary, the grammar will be different, but if you know what you want to express, you can do it in any language. Developing the "what" is the tricky part. It is a bit like learning a spoken language with very restricted English-like vocabulary and grammar and writing a comprehensive fully developed novel in said language.
2 of 2
2
Remember, that no matter what you choose, it won't define your career for years to come - no matter if you start with Python or Java, you can always learn the other, or a third language in far less time than it took to learn the first. Programming is much more about problem solving and understanding computers, than specific languages. I would recommend Python, because you'll fairly quickly be able to build stuff with it. No matter if you are interested in web-applications, desktop games, scripting, data science or something completely different. Java tends (or tended) to give you a better understanding of Object Oriented Programming, because it is very strict about everything being a class, and so on, and the entire API is extremely Object Oriented, with big-Os :) But in later years a lot of this OOP strictness is becoming annoying, you tend to write a lot, and I mean a lot of extra code, simply to make the Java compiler not throw up on you. And even the folks behind Java has realized this, and newer versions include more and more short-cuts for writing more compact code ... Anyways - as for jobs, I guess it depends a lot on where in the world you live and work. Here in northern Europe, Java is mostly used by banks and insurance companies - there are a lot of Java-code running out there, but it seems like no new products or new companies base anything on Java. Also the banks tends to want university masters with 5-7 years of experience ... But again, it doesn't matter - when you have learned some programming, you'll quickly get ideas as what you want to build, and maybe you need to learn Swift or Kotlin or React or C# to build those kind of applications, but that is the way it is going to be, there'll always be more to learn, so might as well just get started, and have fun along the way!
🌐
Reddit
reddit.com › r/cscareerquestions › moving into web development: learning java vs python/ruby
r/cscareerquestions on Reddit: Moving into web development: Learning Java vs Python/Ruby
March 31, 2014 -

tl;dr: Trying to decide between learning Python or Java to break into professional development. I like Python, but Java seems to be in more demand. Thoughts?

Hi all! In a nutshell, I earned a bachelor's degree in a field completely unrelated to IT in 2011, but I got into tech support shortly after and wandered into some basic infrastructure stuff. I'm really enjoying it, but I know that, long term, the only thing that's going to be able to hold my interested is development.

I know HTML/CSS, some Grails (long story), and enough PHP to make a functioning website but not an elegant one. My apps work, but most of the time I find I'm coming at tricky stuff with a sledgehammer rather than any kind of nuance. The plan right now is to build up a portfolio of projects and try to eventually get into a development job—I just don't know which language to commit to first.

  • I'm a fan of PHP and am getting a pretty good grounding in building dynamic sites with it, but I suspect it's only because it's easier to fake a solution than it is in the compiled languages. I'm under the impression that, going forward, this probably isn't a particularly attractive language to set myself apart.

  • Learning Python is at the top of my list right now, and checking out Django only encouraged me further. But...

  • Every job listing I come across is for Java. I try to peruse a few of the standard websites every once in a while to see if I can't glean any insight into what I might try, and Java seems to outnumber the other listings at least 10 to 1. I'm in a pretty big city, so it's not like there are 11 listings total, but there are noticeably more.

In any case, thanks very much for reading this far. I know learning multiple languages for different tasks is the big-picture answer, but I really want to work at understanding the ins and outs of one for starters, rather than learning enough to smash something together and not going any further.

edit: Formatting

Find elsewhere
🌐
Reddit
reddit.com › r/learnprogramming › java or python for full-stack dev — which one to focus on?
r/learnprogramming on Reddit: Java or Python for Full-Stack Dev — Which One to Focus On?
June 9, 2025 -

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!

Top answer
1 of 10
6
Both and depends. I know, a bad answer, but coding languages are simply tools with strengths and weaknesses. Even in certain fields , it is sometimes better to use something else entirely than the standard. However, there are some rules to the exceptions: 70% (or more) of enterprise software is written in Java. Python is really good in prototyping and creating quick scripts that can fix smaller problems without trying to change the whole architecture. Sorry that this doesn't provide any answer, but it's really depends on the situation at hand. Learn the concepts, and what is left are the syntax and architecture the languages can use for the best. If you are somewhat adept at coding as a whole, you will see many repetitive patterns when we talk about imperative paradigms. Tldr: learn concepts and architectures as a whole and be flexible. That's my recommendation.
2 of 10
4
I'd say it just depends if you hate Java, like I do. Java has plenty of jobs, it's entrenched in corporate legacy systems, and there's a number of good frameworks. I'd rather use Kotlin. Companies with Java devs still use Java/Spring Boot for websites. Lot's of OOP, lots of Model View Controller (which I also dislike). Not for me. I'd pick Python every time. Even if that means having to use Django and Flask. I like FastAPI. I like C-style languages (even though Python is missing the brackets and semi-colons), I like procedural programming. I like playing around with AI workflows and tools locally on my PC, and online. I like Hugging Face (although, there's also Hugging Face JS). Way more fun IMO; way more my style. That's my two cents.
🌐
Career Karma
careerkarma.com › blog › tech guides › python vs. java: web development
Python vs. Java: Web Development | Career Karma
July 20, 2022 - Since its introduction by James Gosling in 1996, Java has grown to be a stupendously successful language, used in data science, machine learning, web development, and almost everything else. As with Python, Java’s use in building web applications is mostly confined to backend server-facing work. A number of Java ‘flavors’ are available for these tasks, including Java Enterprise Edition, the JavaServer Pages Standard Tag Library, and the JavaServer Pages Standard Tag Library.
🌐
Reddit
reddit.com › r/learnpython › "python vs. java in 2025: which should i focus on?"
r/learnpython on Reddit: "Python vs. Java in 2025: Which Should I Focus On?"
December 10, 2024 -

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.

🌐
PowerGate Software
powergatesoftware.com › tech-blog › java-vs-python-for-web-development
Java vs Python for web development: Which is better in 2025?
July 23, 2025 - Examples of platforms using Python for web: Beyond widely recognised giants like Instagram, Reddit, and Dropbox, numerous other platforms leverage Python’s capabilities: ... Java remains the dominant choice for enterprise environments that prioritize performance, stability, and security.
🌐
Boomdevs
boomdevs.com › blog › python-vs-java-for-web-development
Python Vs Java For Web Development- Which One Is Better? - Boomdevs.com
January 19, 2025 - Python has a growing community in areas like AI, data science, and web development, while Java has a more established community, particularly in enterprise-level application development.
🌐
Reddit
reddit.com › r/learnprogramming › why do people recommend python and java instead of javascript as a beginner language?
r/learnprogramming on Reddit: Why do people recommend python and java instead of JavaScript as a beginner language?
September 19, 2022 -

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?

🌐
Reddit
reddit.com › r/learnprogramming › can't decide between learning java or python, and want to know what *kinds* of applications each is more widely used for.
r/learnprogramming on Reddit: Can't decide between learning Java or Python, and want to know what *kinds* of applications each is more widely used for.
July 20, 2021 -

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?

🌐
Reddit
reddit.com › r/cscareerquestions › java vs python for backend as a first job
r/cscareerquestions on Reddit: Java vs Python for Backend as a first job
October 26, 2022 -

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

Top answer
1 of 25
128
I started with Python (Django) but my first job was Java-based. It was only after using Java that I properly understood OOP. You talk to other developers and you start to understand the importance of object oriented design patterns for scalability and reusability, importance of writing clean code and that alone opens up a whole new never ending pit of infinite knowledge. You'll have very little trouble picking up another language after Java and you'll start to love it's static typed verbose nature. You'll understand the importance being verbose when it comes to really humongous codebase (or atleast, codebase that cover a vast domain)
2 of 25
82
As someone who's worked with both spring and flask, I vastly prefer flask, spring seemed to break every so often with very not helpful errors and in many cases we simply copied the code, deleted the project, then put the code back in and it worked somehow. This was like 5 years ago so no idea if it's different now but spring was extremely annoying. That said career-wise java is the go-to here. Even though I use 90% python now the only reason python is even relevant is packages people have built, mostly written in core C. So for example I do data engineering and afaik there's no pandas/numpy substitute in java. But as a fundamental language I think java is much better and you'll likely learn much better design principles as well. And if you don't like the job after a year or two you can definitely leave and pursue a python role, being able to put java on your resume will only be a positive.
🌐
nCube
ncube.com › home › software development trends › java vs python: which is better for web development?
Java vs Python: Which is Better for Web Development? - nCube
July 3, 2025 - When conducting a neck-to-neck comparison of Java and Python for web development purposes, it’s wise to start with the benefits and challenges of each. Java comes with many benefits that are highly applied for web development purposes.
🌐
Medium
medium.com › @AlexanderObregon › java-vs-python-for-web-development-fd65795c76d9
Java vs. Python for Web Development
May 17, 2024 - From web development and mobile apps to big data and machine learning, there is likely a Java library or framework available to address specific needs. Forums and Q&A Sites: Java has a strong presence on various forums and Q&A sites like Stack Overflow, Reddit, and specialized forums such as JavaRanch.