rod mclaughlin


Ruby and Rationalization (06 jun 09)

"Rationalization is more important than sex: have you ever been a week without a rationalization?" - Steven Pinker

When I was programming in Visual Basic, and wanted to switch to Java, I argued in favor of strong typing, which Java has and VB doesn't. Then, when I wanted to switch from Java to Ruby, I became convinced that strong typing is for wussies.

Now I'm a real Ruby on Rails programmer. My code is weakly typed, and drier than a dingo's ballbag.

When I wanted concrete inheritance in a language, and Visual Basic (6) had only interface inheritance, I switched to Java. Then I learned about 'patterns' and concrete inheritance was deprecated in favor of interface inheritance - Java has both. But when I wanted to do Ruby, which has no interfaces, and Ruby on Rails, which depends heavily on concrete inheritance, I changed my tune.

Some psychologists say the mind is the brain's marketing department: it rationalizes what you were going to do anyway.



Back
Portland London