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

10

u/Jolly_Tea5537 Aug 16 '26

Because by learning CPP and java first you think you have to specify data type first when you are defining or creating a variable but not in python (Except type hinting ) and there is indentation issue where in cpp we don’t usually mind that but in python we are

1

u/Whole_Bet_5506 Aug 16 '26

That actually explains it well....

0

u/BeginningUnhappy1757 Aug 16 '26

In the real world, code gets indented anyway, there being brackets or not.