Categories
- Blog (101)
- Lua (13)
- Miscellaneous (46)
- Photos (6)
- Programming (31)
- Python (15)
- Sample (3)
- Web Design (3)
- Writing (2)
- Portfolio (40)
- Snippets (27)
- Blog (101)
Tag Archives: functions
Cute Functions – Creating pseudo-operators in Python
I ran across something today that I found to be extremely interesting. Basically, the authors of Should_DSL, http://pypi.python.org/pypi/should_dsl/1.2.1, have attempted and succeeded in creating pseudo-operators based on operator-functions within an object.
Let me elaborate.
The goal of Should-DSL
…