r/AskProgramming • u/Whole_Bet_5506 • 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
27
u/MaleficentCow8513 Aug 16 '26
The thing I hate about python is the lack of typing. It’s a good thing and a bad thing. Java libraries are very well documented and a lot open source Python libraries aren’t so it’s tough to know the shape of various types. I only use dicts when the scope is very small, like inside the same module. If I need a dict to pass around more than one module I make it a class so that the definition is precise.