6 ms·
This marketing site fails to answer the most important question: What's the value proposition? Why should I care writing "Pythonic" code?
by middus 12y ago
This marketing site fails to answer the most important question: What's the value proposition? Why should I care writing "Pythonic" code?
- andybak 12y agoI think that might fall under "If you need to ask, you're not the intended audience".
- elbear 12y agoHe expects you to already be convinced that writing idiomatic Python is what you want to do. If you're not, here are some arguments: 1. The idioms are generally the most elegant way of using the language, so if you use them, it means that you will use the language in the most efficient manner ("with" statement for file handling is one example); 2. It's easier for other people to work with your code; 3. You feel good knowing you're doing the right thing.
- Bootvis 12y agoGood points, I'd like to add: 4. Idiomatic code receives more attention from the Python core developers and might become faster in the future (for free!).