-
Python
String Python Comparisons Along
Last time, I talked about Python’s boolean operators and and or and what can be confusing about them when “truthy”…
Read More » -
Python
“Object Literals” in Python
This may come as a shock to my regular readers, but even as a Pythonista and Kotlinite, I’m a little…
Read More » -
Python
The Yin and Yang of Python
It’s time that I got a bit more real with you guys. Pretty much ever since I learned Python, I’ve…
Read More » -
Python
The Clash of Template and Delegate Patterns
Back in my delegate decorator article, I mentioned some weaknesses of the delegate pattern as a substitute to inheritance. The…
Read More » -
Python
Strategy Pattern Sans Objects and Functions
As many of my readers will likely know, my favorite design pattern is the Decorator Pattern, but I don’t think…
Read More » -
Python
Python Decorator for Simplifying Delegate Pattern
Recently, I posted about how you can use composition instead of inheritance, and in that article, I mentioned the Delegate…
Read More » -
Python
Read-Only Properties in Python
Python descriptors are a fairly powerful mechanic, especially for creating properties. The built-in property descriptor/decorator works very well for defining…
Read More » -
Python
Explicit Currying in Python
Last week, I talked about currying a little bit, and I’ve been thinking about how one could do in languages…
Read More » -
Python
The Genius of Python’s Self
When I first started learning python and read about how they do class methods, I was a bit thrown off.…
Read More »