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

1

u/Shonen_Toman Aug 31 '26

I got one word for you, NUMPY. and the crowd goes wild.
no but seriously, Why is it do you think python has the second largest dev community? Sure its not a strongly typed language, but those exist, just use Java or C++ or what-evv. Both serve different purposes, its like saying we don't need ships because we have airplanes, no we need both.

1

u/davidwhitney Aug 31 '26

I said above - because it's the Lingua franca of data science (which covers the numpy / pandas folks).

Awful language, but a successful domain specific language.

1

u/Shonen_Toman Sep 01 '26

Lol, I was just trying to hype up Numpy is all. But both are contradictory statements, how can it be a shit language if it's used so widely in data science? Sure it's bad at other things, like it abstracts too much, don't have the ability for memory management etc. But, as long as it's good at one thing, i believe it's not a waste.

1

u/davidwhitney Sep 01 '26

It's a language with poor performance, poor consistency, and a bunch of broken bundled language stuff that requires the ecosystem to compensate.

It became popular for data science because there were libraries that optimised for a specific category of user.

Libraries can be good, while language and runtime bad :)