Monthly Archives: January 2012

Decoration is best, except when it isn’t

I think by now we all know to prefer composition over inheritance. But in a language with a lot of options, what’s the best kind of composition to use? Composing an adventure Consider an adventure game, with objects representing player … Continue reading

Posted in Ruby | Tagged , , | 10 Comments

A Game Development Curriculum

Along with every other hacker on the planet, I got into programming because I wanted to write games. It wasn’t long at all, though, before I learned that the greatest game of all is teaching the machine to do your … Continue reading

Posted in Books, Education | Tagged , , , , | 24 Comments

ActiveRecord Default Association Extensions

How to add helper methods to all associations of a given type, as well as to the model class. Continue reading

Posted in Rails | Tagged | 5 Comments

My authoring tools

Several people have asked about my self-publishing process. I’d really like to write something comprehensive about this, along with code/scripts/config for my whole build stack, but I haven’t had time yet. Until that time, here are some notes on tools … Continue reading

Posted in Books | Tagged , | 1 Comment

Should I rename my gem?

The Ruby community has some diversity challenges. I don’t think the Ruby community is any more biased than other tech communities; if anything, I think Rubyists are more apt to make a big deal over offensive content which would be considered business-as-usual … Continue reading

Posted in Uncategorized | 59 Comments