|No such thing as a small change|
If you like this I suspect you'll really like design by contract. If you've not played with them already take a look at Class::Contract and Class::Agreement, and give Meyer's "Object Oriented Software Construction" a read.
Yes. I am a fan of DbyC.
I first read OOSC shortly after it came out ('90 or '91?). Later it was the course reference material for a friend who I mentored. The course language was Eiffel/S, probably the best teaching language I ever encountered.
I will definitely take a look at the those two modules. Thanks for the links.
Examine what is said, not who speaks -- Silence betokens consent -- Love the truth but pardon error.
Lingua non convalesco, consenesco et abolesco. -- Rule 1 has a caveat! -- Who broke the cabal?
"Science is about questioning the status quo. Questioning authority".
In the absence of evidence, opinion is indistinguishable from prejudice.