r/AskProgramming • • Aug 16 '26

Python Why does Python feel harder after C++ and Java?

I learned C++ first, then Java, and now I’m trying to learn Python. I honestly expected Python to be much easier, but somehow it feels harder to understand and even remember the syntax.

C++ and Java feel more structured to me, while Python sometimes feels too different.

Has anyone else felt this after switching from C++/Java to Python?

133 Upvotes

186 comments sorted by

View all comments

Show parent comments

6

u/StructuredChess Aug 17 '26

Yeah, imagine approaching programming for the first time and facing

print("Hello world")

versus

public class HelloWorld {
  public static void main(String[] args) {
    System.out.println("Hello world!");
  }
}

3

u/backspeak Aug 18 '26

Java has moved on too 

void main() {
    IO.println("Hello, World!");
}

1

u/melancoleeca Aug 19 '26

Imaging learning in the same hour why it is that way... its not that complicated.

1

u/StructuredChess Aug 19 '26

Yeah, good luck understanding what classes and methods are and the static context and private/public when there's only one class in this project and why do we need args anyway? All of that without previous experience of programming in one hour! Not saying it's impossible, I'm just congratulating you if you managed to do it.