Essential Reads to be more Pythonic
Here’s a list of Stack Overflow answers that were essential to help me understand the power of Python.
Get Ben Huang’s stories in your inbox
Join Medium for free to get updates from this writer.
Meta Classes — This will help you understand the underlying syntax sugar that comes with python which makes coding in it so enjoyable.
Iteration, Generator, and Yield- This could help you save a ton of memory
Lambda and Map/Reduce/Filter: For those familiar with JavaScript, Lambda is the Python equivalent of anonymous function.
Decorators — This feature can help you structure your code and build tool kits within an application
Monkey Patching — Quick way of modifying methods, don’t use it if you don’t fully understand the classes or methods you are changing.
- I’ve only found myself needing to monkey patch once in a very long while, but when a method exists and is needed extensively, monkey patching is “a” way to go.
The advantage of having a Benevolent Dictator, I personally think this is an advantage.
Feel free to tell me anything else worth reading!!









