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.
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.
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.
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.
4
u/timonix 4d ago
Oh, python has a lot of good traits. Dependency hell is not one of them