Sunday, November 18, 2012

Better than "Understanding OOP"

I came across a page talking about the joys of OOP via this blog post. The original page was a thing of horror. I modified the Elisp code from Irreal, adding a few additional features:

In addition to equality matches, it can match using regexps and arbitrary functions. Let's see Java do that in 20 SLOC.