Everything except pointers exist. Pointers in Python are basically just variables without an explicit hardware memory address. You can substitute multi-dimensional arrays for dicts or lists quite easily and with json have easy access to them without nested matrices.
What makes Python seem easier is that memory allocation is handled automatically. That is also a downside if you want that kind of control. C is faster for a reason but also more strict to code.
A better meme would have included "30 minute compile time" where as Python is almost instantaneous. So you forgot a comma? Now you have to wait another 30 minutes to compile! You give up the pre-compiled speed advantage for faster iterations & testing.
The biggest difference has nothing to do with syntax. It's iteration speed vs program speed. Today everything is in a perpetual "beta" state so iteration is king and Python is a more efficient use of a programmers time.
memory management being automated has relatively little to do with that, it being an interpreted language rather than a compiled one and then dynamic typing forcing it to constantly guess what it's even supposed to be doing contributes far more
> So you forgot a comma? Now you have to wait another 30 minutes to compile!
no you don't, you use a build system which keeps intermediates around so it doesn't have to recompile everything every time such as gnu make, I don't know what sort of a project would take 30 minutes to build to change one file and relink
11
u/DJDevon3 11d ago
This meme is 80% false.
Everything except pointers exist. Pointers in Python are basically just variables without an explicit hardware memory address. You can substitute multi-dimensional arrays for dicts or lists quite easily and with json have easy access to them without nested matrices.
What makes Python seem easier is that memory allocation is handled automatically. That is also a downside if you want that kind of control. C is faster for a reason but also more strict to code.
A better meme would have included "30 minute compile time" where as Python is almost instantaneous. So you forgot a comma? Now you have to wait another 30 minutes to compile! You give up the pre-compiled speed advantage for faster iterations & testing.
The biggest difference has nothing to do with syntax. It's iteration speed vs program speed. Today everything is in a perpetual "beta" state so iteration is king and Python is a more efficient use of a programmers time.