Erlang: Dispatching Closures (aka: why we don’t do OOP)

Oh my! It’s like “Creating nouns in the kingdom of verbs“!(The link above is to a great post from Steve Yegge — read it and come back if you aren’t already familiar with it.) I wrote a funny little module today to demonstrate to a friend why FP folks sometimes refer to OOP objects as […]

Don’t Get Class Happy

If you find yourself writing a class and you can’t explain the difference between the class and an instance of that class, just stop. You should be writing a function. This antipattern — needless classes everywhere, for everything — is driving me crazy. Lately I see it in Python and Ruby a good bit, where […]