No, learning any programming language before Java will make learning Java easier. Answer from ectomancer on reddit.com
🌐
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/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/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/learnprogramming › as a complete beginner what should i start with python or java?
r/learnprogramming on Reddit: As a complete beginner what should I start with Python or Java?
July 2, 2024 -

I am about to join college in 1 month and will be starting my coding journey. On most youtube videos people say that beginners should start with either java or python.

I like Ai stuff and that is mostly done by python (acc to what I found on the internet) but then Java is for mostly opensource and development( again acc to internet). Open source and development seems like more leaning towards better placements but then python seems easy and most Ai and ml is going on python.

I'm very confused right now, I wanna be able to build some good stuff with either language, but starting out is just overwhelming. No idea where to start.

Edit 1: I have kind of decided to start with Java and my college with probably start with C language so I'll try that in the 1 month I have left.

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 › 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 › is it bullshit: know java, easy to learn python. but not the other way around.
r/learnpython on Reddit: Is it bullshit: Know Java, easy to learn Python. But not the other way around.
August 11, 2019 -

Hello people, I am looking to learn a programming language during the summer before college. The classes I'll be taking at univerisity uses Java. However, I've been trying to learn Python on my own for around two weeks using Automate the Boring stuff and Code academy. So I am still a noob. However, I've read some posts where people say learning Java as a first language will be much better than learning Python as a first language because it is easier to transfer from Java to Python but not the other way around. Now I am conflicted in which language I should devote myself to for the rest of the summer. Please give some advice. Thanks!

Edit: Thanks to everyone who replied and who tried to help. So some said that Python allows you to skip the useless code which therefore allows you to focus more on the concepts. While some said that Java forces you to explicitly write out all the steps which teaches you more on the fundamentals. Although I will eventually be learning Python as I am interested in Machine Learning/AI I think I will be learning Java for the rest of summer until university starts simply because of the fact my classes uses Java so I was think about getting a slight head start. Once again, thank you to everyone who helped.

🌐
Reddit
reddit.com › r/learnpython › best way to learn phyton if i already have a good grip on java?
r/learnpython on Reddit: Best way to learn Phyton if I already have a good grip on Java?
January 10, 2024 -

Hey guys so I've just finished a h dip ( conversion degree) and my focus was Java. So I already have a good feel for OOP etc .

I want to learn Phyton but a lot of things I find start from the very beginning. What would be the best way to learn quickly given my experience?

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/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/learnprogramming › should i learn java or stick to python?
r/learnprogramming on Reddit: Should I learn Java or stick to Python?
August 24, 2019 -

I have been studying programming for the last six months. For the first four months I studied Python, and then I started studying studying data structures and algorithms. For data structures and algorithms, I picked the books where the code was written in Python. Now that I am about to finish that, I have decided to pick Algorithms by Robert Sedgewick. In this book all the code is written in Java.

I want to learn both Java and Python, and I will learn Java at some point. My question is whether I should start learning it right now or not? I know it's not necessary, but I think it will be much easier to follow the book if I have some understanding of Java.

Why am I confused?

Well, I have watched videos, read blogs about people recommending to stick to one language when starting out. So, I am scared to start a new language thinking I might forget Python or get into a situation where I don't understand either of these languages.

🌐
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/python › learning java from python.
r/Python on Reddit: Learning Java from Python.
September 19, 2020 -

I work processionally in Python and have no plans on changing but despite knowing it quite well, it’s still the only language I really know. I’m interested in picking up some Java skills for the hell of it. It seems the JVM ecosystem has some interesting things going on these days like Kotlin, but it’s all predicated on knowing Java. Of course there a lot of Java books but are there any resources for learning Java from the perspective of a python programmer?