No, learning any programming language before Java will make learning Java easier. Answer from ectomancer on reddit.com
🌐
Reddit
reddit.com › r/learnpython › java after python.. possible??
r/learnpython on Reddit: Java after python.. possible??
August 8, 2022 -

I have been learning python for a year and I think I can code in python! I just need to work on projects to advance my skills. Lately I have been thinking to learn Java...so I took advice from my friends. They said I will have tough time learning Java because I have learned python before. They said I should have learned Java first and python later... maybe I messed up 😅😅

Is it true? Will it really be that difficult?😩

Python is my first language and I am thinking of learning Java now. Can I?! Please share your opinions

Thanks in advance 🤗🤗

🌐
Reddit
reddit.com › r/learnprogramming › java book for python programmers or programmers in general
r/learnprogramming on Reddit: Java book for Python programmers or programmers in general
November 10, 2020 -

Hi,

i know Python pretty good and need to learn Java for a job. Is there a learning resource written for folks who already know programming concepts and just want to know the Java specific stuff?

Top answer
1 of 4
3
I get so many errors. Honestly, even though you said "no videos or tutorials", you need one. Do the MOOC Java Programming from the University of Helsinki. Python and Java are very different beasts. You can be a decent programmer at either and will find the other difficult. Hence, do a course. I just recently started learning Python coming from a long history (>3 decades) of professional programming in multiple languages (Delphi, VB, C, Java, bit of C#) and still found that I absolutely need a structured course to get started. The gap between the languages was just too big. Sure, with the experience, you can breeze through the initial chapters as they deal with very basic things, like variables, conditionals, input/output, but you will still learn a lot. If you absolutely do not want to go that way, you need to learn to read and understand the errors and debug them. Yet, going this approach will make it way more tedious than it need be.
2 of 4
3
I highly recommend these two free online Java courses: MOOC.fi . The courses have you learn Java while simultaneously doing mini exercises to apply what you learned. The exercises get more complex as the course goes on. At the end of the second course you create a pretty decent GUI game. I skimmed your profile to gauge your level of Python. You'll probably find the first half of course 1 pretty easy, but everything after that will likely be mostly new to you. Course 2 will likely be all new to you. It's very easy to learn Python without really thinking about object oriented programming (OOP) concepts, but with Java you must learn object oriented programming concepts. After those two courses, I recommend doing a couple of small projects in Java and then reading a book on OOP design patterns. I recommend a called book "Head First Design Patterns". After that you should have a very solid understanding of Java and OOP fundamentals.
🌐
Reddit
reddit.com › r/learnpython › learning python with java knowledge
r/learnpython on Reddit: Learning python with java knowledge
February 17, 2025 -

I am currently attempting to speed learn python because I need it for a shadowing opportunity that I have tmr. I have java knowledge, and I know basic Python. Does anyone have any tips or resources that I can use?

Top answer
1 of 5
5
Here's something I wrote a while back for devs coming from languages like c/c++: Python is just another coding language, so existing skills in programming and domain knowledge will benefit potential employers/clients even if they require Python coding. Experienced programmers know that coding is a small part of programming, but proficiency in (and enjoyment of) any particular language, best suited to particular problem types, is, of course, highly beneficial. There are many areas that Python has become well established in. Machine learning and AI are very well served in Python. Alongside R for the more statistically inclined, data science & analytics is an incredibly common field for Python. The latest release of Excel includes Python in recognition of this. A review of Python Success Stories , on the Python Software Foundation website, will provide a good view of the wide range of areas Python has been used in. Python isn't the best answer for all problems (and may be highly unsuitable for some, of course), although it might be the most pragmatic in organisations that have a lot of experience in, and well established ecosystems around, it (such as sophisticated CI/CD pipelines). For example, Python isn't the best language for modern triple-A games, but it is heavily used by many games software houses to orchestrate, automate, optimise the work. Some of the largest consumer services in the world are heavily Python based, such as Instagram (leaning strongly on the Python Django web framework). Most experienced programmers shall be well versed in data structures, algorithms, design patterns, and so on. They are largely independent of the coding language. The same principles apply to Python, although the implementation patterns (and efficiencies) will vary. Similarly, successful programmers will likely be comfortable with CI/CD tooling and workflows, which are just as important for Python as for other languages. Programmers new to Python may want to spend some time looking at the most popular testing frameworks, though, such as PyTest (rather than the standard unittest) to work with those pipelines. Packaging for Python is perhaps another area to get some experience around as that will be different from other languages, especially given that as standard Python is not compiled to binary. (for those not aware, the standard CPython reference implementation compiles to byte code, much like happens with Java, for execution in a Python Virtual Machine, built into CPython.) I'd recommend looking at videos on YouTube by ArjanCodes , especially those doing some kind of code reviews (will help you spot a lot of potential problems). One book I would recommend is Fluent Python, 2nd Edition by Luciano Ramalho. ADDITIONAL CONTENT IN COMMENT TO THIS COMMENT
2 of 5
1
Learn about generators and yield. If you have time learn about iterators, they're everywhere in Python. And Dunder methods.
🌐
Reddit
reddit.com › r/learnprogramming › professor said learn python and java. why?
r/learnprogramming on Reddit: Professor said learn Python and Java. Why?
September 5, 2023 -

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?

Top answer
1 of 59
134
If you had asked your professor "what's the most common language for web frontend development," he'd've probably told you JavaScript. But there are lots of kinds of programming out there, and Java and Python are a pretty good choice for covering a whole lot of bases. Python's one of the most popular languages out there, especially for what's trendy today (machine learning) and for developing being done by professionals who aren't primarily programmers (scientists, analysts, business-folks, artists). Java's extremely popular for big corporations building lots of complicated little business logic services, and it's still fairly popular for web backends. Plus, there are huge amounts of "learn programming" resources aimed at both of those languages. Also: if you really want to be a professional developer, I might suggest hanging out for an extra year or two to get a CS minor or something if you can. If your plan is to study programming, and they teach programming where you are, why leave? But I also understand that staying in school longer isn't always possible, financially or otherwise.
2 of 59
35
CS professor here. The programming language you choose as a beginner is mostly irrelevant. Python is known as an easy language because its syntax is similar to written English. If you really learn how to program, you'll learn that the language is just a tool. Asking for the "best language" this early is like comparing screw drivers without looking at the screw. Some languages will do some things better, but you don't need to know any of that right now. When you learn how to make a loop in one language, you can do it in nearly any language with the smallest of effort. The hard part is learning how to do something, not how to write it. Go deep, not wide. The things you learn in one language can apply to other languages. Your professor gave you good info. Thank them and take the advice. P.s. I'd rather hire someone who knows one language really well vs. Someone who knows a dozen languages at a shallow level.
🌐
Reddit
reddit.com › r/learnjava › python developer here, want to learn java
r/learnjava on Reddit: Python developer here, want to learn Java
February 9, 2023 -

Hi,

I am a Python developer, I am programming since last 2-3 years and I want to learn Java for my next career opportunity.

Which resource would you prefer me to learn java from?

Top answer
1 of 4
14

The same as for everybody else, see u/Automoderator's comment and take the MOOC.

Python is so fundamentally different to Java that you will have to relearn a lot of things, so it is best to start from scratch.

Even seemingly simple things are implemented differently in Python to Java, a simple for loop. In Java, it is a traditional for loop; in Python, it is basically a for-each loop.

Loops with else clauses. Great with their use cases. Not existing in Java.

Slicing, which is one of Python's greatest strengths, does not exist in Java. At least nowhere in a way that comes close to Python's capabilities.

Python can do OOP. Java has to do it. In Java, everything is in a class. Everything has to be in methods. In Python? Do what you want and what fits best.

Global variables? No-brainer in Python. Not existing in Java.

List comprehensions, generators, etc. Not existing or completely different in Java.

This goes on and on and on.

Don't get the above wrong, though. I am not dissing either language. Either is great. I like both languages very much. Still in the process of improving my Python skills, but my Java is pretty solid. I also had to basically start from scratch when learning Python despite being a professional programmer since more than three decades and despite having learnt, being fluent, and using over 10 different (some entirely different, domain specific) languages.

As a Python programmer, you are used to think in a very different way. I can see that myself already. You will get the feeling that Java is clumsy and verbose. And honestly, it is compared to Python. Yet, that is deliberate. It gives additional safety and stability. You will feel Java being more restrictive. Again, a deliberate and conscious decision.

2 of 4
3

It seems that you are looking for resources for learning Java.

In our sidebar ("About" on mobile), we have a section "Free Tutorials" where we list the most commonly recommended courses.

To make it easier for you, the recommendations are posted right here:

  • MOOC Java Programming from the University of Helsinki

  • Java for Complete Beginners

    • accompanying site CaveOfProgramming

  • Derek Banas' Java Playlist

    • accompanying site NewThinkTank

  • Hyperskill is a fairly new resource from Jetbrains (the maker of IntelliJ)

Also, don't forget to look at:

  • The official Documentation

  • The official Java Tutorials

  • Our community resources thread

If you are looking for learning resources for Data Structures and Algorithms, look into:

"Algorithms" by Robert Sedgewick and Kevin Wayne - Princeton University

  • Coursera course:

    • Part I

    • Part II

  • Coursebook

    • Algorithms 4th Edition

Your post remains visible. There is nothing you need to do.

I am a bot and this message was triggered by keywords like "learn", "learning", "course" in the title of your post.

I am a bot, and this action was performed automatically. Please contact the moderators of this subreddit if you have any questions or concerns.

Find elsewhere
🌐
Reddit
reddit.com › r/python › how does an experienced java developer pick up python?
r/Python on Reddit: How does an experienced Java developer pick up Python?
July 1, 2018 -

Hello guys, I need some suggestions to learn Python. Recently My boss assign a Django-based project to me. But the problem is I don't have any experience in Python. I tried to follow documentation and tutorial on the Python official website.

I found it is not easy to learn Python when I have experience in java for several years.Because Java has a very strict typing and concepts that are general solutions to any complex problem.

Python tend to abstract these concepts and allow code that might be better at readability, but this comes at the cost of not having good IDE support and more importantly is more prone to error.

What are some recommended learning methods I should follow?

🌐
Reddit
reddit.com › r/learnpython › any good resources for an experienced java developer new to python?
r/learnpython on Reddit: Any good resources for an experienced Java developer new to Python?
January 13, 2022 -

Does anyone have any recommendations for material pitched a experienced developers wanting to get up-to-speed with Python quickly. Assume I can already read and write complex code in another language but have never used Python before.

🌐
Reddit
reddit.com › r/learnpython › java programmer learning python?
r/learnpython on Reddit: Java programmer learning python?
April 4, 2025 -

When I was in college, I got my CS degree when the primary language being taught was Java. I am fairly comfortable with Java as a language, but I left the field in 2010. Now it seems like Python is the preferred language, so I am attempting to learn it to hopefully find some sort of part time work.

I am curious where the best place to start would be. I have looked up projects to learn python online, but many seem focused on teaching basics of programming and algorithms and such, which I don't really need given my background. I want to learn the ins and outs and specifics of python as a language.

Any advice?

🌐
Reddit
reddit.com › r/learnpython › courses for learning java from python
r/learnpython on Reddit: Courses for learning Java from Python
May 20, 2024 -

I'm currently pursuing a Master's in Computer Science and started earlier this year. As this semester wraps up, I've completed an "Introduction to Programming" course in Python. Next semester, I’ll be taking a course on Object-Oriented Programming that requires knowledge of Java.

I understand that learning a new language is easier once you have a solid programming foundation, but I’d like to get a head start. Does anyone know of any online short courses specifically designed for those transitioning from another programming language like Python?

Thanks!

🌐
Reddit
reddit.com › r/learnpython › for what reason should a python coder also learn java, and how can you use python and java together?
r/learnpython on Reddit: For what reason should a Python coder also learn Java, and how can you use Python and Java together?
September 2, 2022 -

Nebulous and strange question, sorry.

I am a machine learning engineer. 100% of my job is done in Python (and shell, of course). So if I never learn another language, I’ll probably be fine for the foreseeable future.

But I want to learn other languages, both just for fun and because I think it will make me a better coder overall. For some reason Java calls me. But I can’t really explain why, nor could I tell you what I’d use Java for once I learned it.

So for the Pythonistas among us who also know Java, how has Java enriched your life? What do you use it for? How (and how often) do you integrate Python and Java within the same project?

Basically, convince me why what I'm already planning to do (=learn Java) would be not just enriching, but actually useful. Bonus points if you have anything to add here that’s specifically relevant to machine learning, since that is my path.

🌐
Reddit
reddit.com › r/learnprogramming › i start a new job using java in 3 weeks, but i am a self-taught python dev
r/learnprogramming on Reddit: I start a new job using Java in 3 weeks, but I am a self-taught Python dev
July 5, 2022 -

What are some important things to know going from a dynamically typed language like Python to a statically typed one like Java? Are there any good Python practices/habits that are bad in Java? Are there any good resources out there to help you get acquainted with a new language quickly from the context of your old one?

Finally, are there any things to keep in mind moving from small time start-up dev work to team-based SaaS FAANG dev work? Most of my experience I worked on projects by myself and I am quite nervous about this new aspect.

Thanks!

🌐
Reddit
reddit.com › r/learnjava › need to learn java fast as a python developer
r/learnjava on Reddit: Need to learn Java fast as a Python developer
April 30, 2019 -

I just started a new job last week and my task is to add a new feature to a complicated Java plugin. I haven’t coded in Java before... I am familiar with OOP but Python doesn’t really rely on it to the same extent as Java. I’d appreciate any resources geared towards experienced developers needing to pick this up fast, particularly focusing on the more esoteric/Javaesque (what’s the analog of Pythonic?) features as opposed to another one of the million “this is how you do a for loop in Java.”

For example, today I was banging my head because there was a function that took in a variable and did a bunch method calls to n the variable. The variable type was an interface and all the basic Java guides say you can’t instantiate an interface so I just didn’t get what’s going on until I understood that it means that any object type that implements the interface is permitted (what a terse way of saying that). So learning these kinds of features is especially valuable.

🌐
Reddit
reddit.com › r/java › coming to java from python, frustrated. any tips for connecting the dots?
r/java on Reddit: Coming to Java from Python, frustrated. Any tips for connecting the dots?
October 24, 2014 -

I've got several months of Python under my belt and have written a few smaller programs ranging from 50-1000 LOC, things like text adventures and web scrapers.

I'm trying to pick up Java and libgdx so I can start coding for android development, but honestly feel like I'm banging my head against the wall. After a month of studying off and on, I don't really feel like I'm getting anywhere, the knowledge isn't clicking for me. I don't expect to eb a pro in a month, or even a year, but I feel like after a month I should be able to at least put together something basic, like the text adventure I did previously. However, I feel like I can't, the knowledge isn't there yet.

Part of it is the highly verbose syntax, which makes it feel much slower to put together something functional, but also the lack of the interpreter to test ideas and methods is frustrating, I really leaned on the interpreter whenever I had a problem in Python, and I'm not sure if there's a similar resource I can use for Java.

Besides that is the syntax quirks, and the frustrating feeling of starting over from scratch because I'm not in the habit of writing Java code, not very familiar with the syntax or the "Java way" of doing things.

Right now I feel like I'm spinning my wheels. I've been reading a ton for Java, but it seems like I've spent much less time actually coding than when I was learning Python, and resources for learning Java seem much more scattered, there don't seem to be any great tutorials to get you off and running. The Official documentation and tutorial is quite good, but doesn't seem to build on existing knowledge, just lays things out one at a time in the trails, unless I'm missing something, and that's been the best resource so far, but still frustratingly dense for a beginner.

Is there anyone else who transitioned from Python to Java who might lend me some tips in overcoming my frustrations in this? Any thoughts?


EDIT - Everyone here is so awesome, I really appreciate all the helpful replies. Also, it seems like the consensus is to give Intellij a shot since I'm not thrilled with Eclipse and have experience with PyCharm, also by JetBrains, and that the free version won't give me problems or major limitations.

Thanks so much all of you. I'm gonna get Intellij and try to spend some time this weekend really plugging away at it, and start redoing some of my Python projects in Java as I have the free time to do so.


EDIT 2 - Okay, Intellij IDEA is so much better and easier to work with than Eclipse. No offense intended to anyone who actually likes Eclipse, but I hated it.

🌐
Reddit
reddit.com › r/learnprogramming › suggestion: should i learn python or java?
r/learnprogramming on Reddit: Suggestion: should I learn python or java?
August 3, 2024 -

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.