I’m definitely missing the point, but reading the article, I kept thinking "This would’ve been so much easier in C."
33 karma · joined June 25, 2012
Not very classy.
This article really lacks of OOP concept. In the first example the enum is a property on the 'vehicule' object, it would be way better to add all the properties needed to that class instead of creating a weird 'VehicleTypeTuple' struct...
Which is a great first tutorial to get some basic with Rails.