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 🤗🤗

🌐
Medium
medium.com › data-science › rewiring-your-brain-from-python-to-java-383960580098
Rewiring Your Brain from Python to Java | by Dan Hales | TDS Archive | Medium
September 24, 2020 - Rewiring Your Brain from Python to Java Seven conceptual hurdles you might face when learning a new programming language Confession: my personal experience is almost the complete opposite of the …
Discussions

Is it easy to learn java after your learned python?
Jason Pallone is having issues with: If I learned python tech degree here, is it easy to learn java after? Like if I learn python in say 4 months, if I put the same time and effort ... More on teamtreehouse.com
🌐 teamtreehouse.com
1
February 2, 2018
Learn Java from Python background - Stack Overflow
The big difference with the language coming from Python is the fact that all variables are typed. The other hard thing with Java has to do with the bewildering array of Java APIs out there. The fact that you are interested in Android is an advantage here. After becoming comfortable with the core language, I suggest you start learning ... More on stackoverflow.com
🌐 stackoverflow.com
As a Java programmer learning Python, what should I look out for? - Stack Overflow
Much of my programming background is in Java, and I'm still doing most of my programming in Java. However, I'm starting to learn Python for some side projects at work, and I'd like to learn it as More on stackoverflow.com
🌐 stackoverflow.com
I’ve mastered “beginner” Python, now what?

Where can I find 'beginner' python materials?

More on reddit.com
🌐 r/learnprogramming
57
396
July 19, 2018
🌐
Quora
quora.com › How-hard-is-it-to-learn-Java-if-I-already-know-how-to-program-in-Python
How hard is it to learn Java if I already know how to program in Python? - Quora
Answer (1 of 55): This is how you declare a list of strings in Java (before 9): [code]List mylist = new ArrayList (); [/code]This is how how you declare a list of an undefined type in since Java 9 (thanks Bernard Louw for the comment) [code]List anytypeList = Collections.emptyList...
🌐
Runestone Academy
runestone.academy › ns › books › published › java4python › index.html
Welcome to Java for Python Programmers — Java for Python Programmers
Java for Python Programmers · Preface · Introduction · Why Learn another programming Language? Lets look at a Java Program · Java Data Types · Conditionals · Loops and Iteration · Defining Classes in Java · Naming Conventions · Common Mistakes · Java Documentation ·
🌐
Team Treehouse
teamtreehouse.com › community › is-it-easy-to-learn-java-after-your-learned-python
Is it easy to learn java after your learned python? (Example) | Treehouse Community
February 2, 2018 - The good thing about programming is the logic behind programs is always the same across all languages, it's the syntax that differs. So in my experience once I knew one language I picked up others in about the same amount of time. I guess it would matter on how quick of a learner you are, but I can tell you Java is a bigger beast than Python.
Find elsewhere
🌐
Sololearn
sololearn.com › en › Discuss › 1014732 › which-should-i-learn-next-after-learning-python-should-i-learn-c-first-or-java-
Which should i learn next after learning Python ? Should i learn C++ first or Java ? | Sololearn: Learn to code for FREE!
Hope this article will help you 💚 -https://teamtreehouse.com/community/should-i-learn-c-first-or-java --https://www.upwork.com/hiring/development/java-vs-c-which-language-is-right-for-your-software-project/ ---https://www.quora.com/What-makes-C++-better-than-Java ... Python (Times Up!) Practice..
Top answer
1 of 7
26
  • Don't put everything into classes. Python's built-in list and dictionaries will take you far.
  • Don't worry about keeping one class per module. Divide modules by purpose, not by class.
  • Use inheritance for behavior, not interfaces. Don't create an "Animal" class for "Dog" and "Cat" to inherit from, just so you can have a generic "make_sound" method.

Just do this:

class Dog(object):
    def make_sound(self):
        return "woof!"

class Cat(object):
    def make_sound(self):
        return "meow!"

class LolCat(object):
    def make_sound(self):
        return "i can has cheezburger?"
2 of 7
23

The referenced article has some good advice that can easily be misquoted and misunderstood. And some bad advice.

Leave Java behind. Start fresh. "do not trust your [Java-based] instincts". Saying things are "counter-intuitive" is a bad habit in any programming discipline. When learning a new language, start fresh, and drop your habits. Your intuition must be wrong.

Languages are different. Otherwise, they'd be the same language with different syntax, and there'd be simple translators. Because there are not simple translators, there's no simple mapping. That means that intuition is unhelpful and dangerous.

  • "A static method in Java does not translate to a Python classmethod." This kind of thing is really limited and unhelpful. Python has a staticmethod decorator. It also has a classmethod decorator, for which Java has no equivalent.

    This point, BTW, also included the much more helpful advice on not needlessly wrapping everything in a class. "The idiomatic translation of a Java static method is usually a module-level function".

  • The Java switch statement in Java can be implemented several ways. First, and foremost, it's usually an if elif elif elif construct. The article is unhelpful in this respect. If you're absolutely sure this is too slow (and can prove it) you can use a Python dictionary as a slightly faster mapping from value to block of code. Blindly translating switch to dictionary (without thinking) is really bad advice.

  • Don't use XML. Doesn't make sense when taken out of context. In context it means don't rely on XML to add flexibility. Java relies on describing stuff in XML; WSDL files, for example, repeat information that's obvious from inspecting the code. Python relies on introspection instead of restating everything in XML.

    But Python has excellent XML processing libraries. Several.

  • Getters and setters are not required in Python they way they're required in Java. First, you have better introspection in Python, so you don't need getters and setters to help make dynamic bean objects. (For that, you use collections.namedtuple).

    However, you have the property decorator which will bundle getters (and setters) into an attribute-like construct. The point is that Python prefers naked attributes; when necessary, we can bundle getters and setters to appear as if there's a simple attribute.

    Also, Python has descriptor classes if properties aren't sophisticated enough.

  • Code duplication is often a necessary evil in Java (e.g. method overloading), but not in Python. Correct. Python uses optional arguments instead of method overloading.

    The bullet point went on to talk about closure; that isn't as helpful as the simple advice to use default argument values wisely.

🌐
CodeChef
codechef.com › learn › course › java
Learn Java Online: Practical Java Programming Course for Beginners | CodeChef
Learn Java with our beginner-friendly course. Practice real problems, get hands-on coding experience, and earn a Java certification on CodeChef.
🌐
Medium
medium.com › javarevisited › is-switching-from-python-to-java-is-a-good-idea-86a3b81f3475
Is Switching From Python to Java is a Good Idea? | by John Selawsky | Javarevisited | Medium
April 25, 2023 - However, knowing two languages is always better than one. If you are thinking of learning a second language after Python, Java could be a really nice choice.
🌐
Coursera
coursera.org › coursera articles › computer science and engineering › web and app development › python vs. java: which should i learn?
Python vs. Java: Which Should I Learn? | Coursera
September 12, 2025 - Learning the language and testing programs is faster and easier in Python compared to Java primarily due to it boasting a more concise syntax. As you're entering lines, you enter them right into the terminal instead of having to compile the ...
🌐
Noble Desktop
nobledesktop.com › what to learn after java
What to Learn After Java: Next Steps
Python is generally considered a little easier than Java, so you’ll likely be able to pick it up quickly once you’ve studied Java. Taking classes in Python will make you a strong candidate for Data Scientist roles. Mobile App Developers also frequently use Python in their work. Skills you could learn after Java include JavaScript, HTML and CSS, or Python
🌐
DEV Community
dev.to › alli › what-happened-when-i-learned-java-and-python-at-the-same-time-1haa
What Happened When I Learned Java and Python at the Same Time - DEV Community
August 13, 2019 - If you like Python, it's hard to let it go. It also changed career course, for me personally. BTW having a Java codebase at your disposal at work should help learning Java with a combination of formal reading and tinkering :D · Zed has you type out a lot of code from the book, which seems silly but it helped me get used to the syntax. Yeah, even if it's just a tutorial, typing code can help. After ...
🌐
YouTube
youtube.com › watch
Learning Java after Python - "Hello, World!" - Comparing a Simple Program Structure - YouTube
The first tutorial in a series that helps you translate your knowledge of the Python programming language to basic familiarity with the Java programming lang...
Published   December 30, 2020
🌐
Sololearn
sololearn.com › en › Discuss › 1634607 › is-it-difficult-to-learn-java-and-python-at-the-same-time
Is it difficult to learn java and python at the same time? | Sololearn: Learn to code for FREE!
December 26, 2018 - For ex: - if you want to become An android developer, go with Java. It is all a waste of time in learning Python. There is nothing like the thing that "you should learn this language first and this to second"... Noo. Buddy it's not like that. If you want to become a data scientist, go with Python... That is my opinion on the whole scenario.... But a key factor is that after learning Python, other programming languages become a lot easy as it has simple syntax and is as powerful as Java.
🌐
Aryaboudaie
aryaboudaie.com › java › python › technical › educational › 2017 › 11 › 13 › python-for-java-programmers.html
Python for Java Programmers - Part 1 - The Big Picture — Learning Python as a Second Language » Arya Boudaie's Personal Site
November 13, 2017 - The way of becoming good at programming ... of Java, then one semester of Python, etc… Rather, when you learn one language, it should be fairly easy for you to pick up another one, or at least easy as learning your first one was. Additionally, learning another language should serve some purpose (I’ll give you some reasons why you should learn Python), but don’t think that after this, you ...
🌐
Medium
medium.com › womenintechnology › journey-to-java-part-1-d8fa449db764
Journey to Java: Part 1. Learning Java as a Python Programming… | by Nisha Kaushal | Women in Technology | Medium
January 27, 2024 - Journey to Java: Part 1 Learning Java as a Python Programming Data Scientist Why Java, and Why Now? A while ago, when I was in undergrad at UC Riverside obtaining my Bachelor’s in Mathematics, I …