Archive for February, 2011
Thialfi: because I haven’t already got enough to work on!
Posted by abingham in programming, python, Uncategorized on 2011/02/13
I’ve recently started making some progress on a project that I’ve wanted to do for a while now. The project, Thialfi *, fills the vacancy left in my life…indeed, in my heart…when “I Want Sandy” went offline. Sandy was something of an online digital assistant, and it (she?) probably had lots of features I never […]
An enum for Python
Posted by abingham in programming, python on 2011/02/04
The internet abounds with implementations of enumerations for Python, but I thought it might be fun to take a crack at making one. My goals were: Immutability: users shouldn’t be able to modify the value at runtime Simplicity of definition: They should be easy to define Uniqueness: Two enum values aren’t equal unless they are […]