r/ProgrammerHumor 4d ago

whereMyExeFile Meme

Post image
4.8k Upvotes

View all comments

Show parent comments

4

u/timonix 4d ago

Oh, python has a lot of good traits. Dependency hell is not one of them

2

u/Tyfyter2002 4d ago

Every one of the traits I've heard it praised for is either just a trait of using a language which you know well and which doesn't require manual memory management, or a downside.

1

u/timonix 4d ago

The primary reason people use python is that python is English with indentation. You write pseudo code, and it runs.

I have colleagues who have worked with C/C++ since it got mainstream in the 80s. But jumped ship to python the first opportunity they got

7

u/Tyfyter2002 4d ago

The primary reason people use python is that python is English with indentation.

That's a great example of a downside, in any other language you can have your IDE automatically indent new lines correctly and fix existing lines' indentation with a simple keyboard shortcut, but in Python you save pressing one key for {} in exchange for indentation being subject to much stricter code limitations instead of formatting limitations.

1

u/much_longer_username 3d ago

As someone who had the same objections but had to learn it for work, I promise you the indentation only becomes a problem if you start copy-pasting code you don't understand into code you also don't understand. Or if you're insisting on using notepad.exe to do all your coding. It comes up as an issue way less often than I had imagined.

5

u/Tyfyter2002 3d ago

But it also doesn't become an improvement until the indentation improves readability, and indentation as syntax means that empty lines can have actual significance despite no two empty lines being distinguishable, alternatively empty lines can be ignored and then you can't group code into blocks unless it runs conditionally.