Two Is An Impossible Number
- Wow, this may be the most serendipitous page I've come across on the c2 wiki. It starts with strategies for when generalization is okay, leads into caveman number systems, how many objects the brain can recognize without counting, God as Lisp programmer,
To
...
on Thu 03/31/05
at 10:33 PM
Design patterns part II - State
- This one is kind of weird but it shows another kick ass capability dynamic languages have: changing and object instance's class (behavior) at runtime.
To
...
on Fri 03/25/05
at 03:47 PM
Design patterns part I - Chain Of Responsibility
- Pretty reusable implementation of the Chain Of Responsibility pattern in Python. Very clean.
To
...
on Fri 03/25/05
at 03:43 PM
Data Structures and Algorithms with Object-Oriented Design Patterns in Python
- Nice.
To
...
on Wed 03/16/05
at 05:08 PM
Dynamic Superclassing in Python
What you're getting into:
Mucking with builtins is fun the way huffing dry erase markers is fun. Things are very pretty at first, but eventually the brain cell lossage will more than outweigh that cheap thrill.
Barry Warsaw, 23 Mar 2000
Now, let's muck with some builtins.
To
...
on Fri 10/01/04
at 07:38 AM
Premature Generalization
- I've always wondered if this was a recognized issue. Premature Generalization (or Abstraction) is like Premature Optimization but is about having too many abstractions in OOP systems.
To
...
on Tue 09/28/04
at 09:31 PM