Re:Ruby's Date/DateTime classes rewritten in C.. 20-200x per...
by jrockway on Monday August 23, 2010 @04:10PM
(#1627882)
How many other people have half-started implementations of the same thing? That's why it's important to publish your code somewhere, even if it's "not good enough". Someone else can make it good enough.
+1 for duck typing, a custom non-Date object can look like a date for operations that only use a subset of the methods.