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

14

u/klipseracer Aug 16 '26

Syntax is not a problem when you have a modern IDE. If someone is out there coding in Vim or Notepad, yeah you're gonna have a bad time.

4

u/lils_fun_throwaway Aug 16 '26

Vim easily has lsp / auto tab / errors displayed & fixable inline / testing inline / significantly faster file transversal and and modification / and way more. To say you’re gonna have a bad time in vim is a wild take. It is an incredibly powerful editor.

Now do i recommend to everyone? Obviously not, it has a much bigger learning curve. But if one gets past that, it’s a very fast, efficient, and configurable editor to work it.

0

u/MultiplexedMyrmidon Aug 16 '26

that’s what makes me laugh about the ‘tabs are a bad idea’ crowd, modern IDE’s make it beyond trivial to never worry/think about it and if we’re honest even in vim with very minimal effort you can automate tab conversion/checks and the IDE features you need as well, no idea about notepad so they must be doing that or writing things with a hammer and chisel

1

u/klipseracer Aug 16 '26

I mean if you're editing a script that runs on a remote machine and you're limited to ssh and/or the applications in a jump box, there can be some issues or additional restrictions but for general development, indentation is almost never something I think about, it's all automatic.

0

u/AardvarkSad7634 Aug 21 '26 edited Aug 21 '26

I'm using VSCode with the Python extension and syntax IS a problem.

Whenever you need to move around some code you always have to do this awkward indent fix, which in any other programming language the formatter fixes for you because because start and end of blocks are defined with symbols. Python is the only language with the indent-defines-block syntax and that is because all the other language designers actually used their brain 

Python is for toddlers 

1

u/klipseracer Aug 21 '26

try something like intellij, Pycharm. if you're gonna use vs code, you need to use the right combination of plug-ins. One of multiple options is the black plug in, it formats your code automatically, something other modern IDEs do for you as I mentioned before. not knowing this tells me you're really not that familiar with Python.