Perl Is Out, Rails Is In
I discovered the Perl module Class::DBI and got the brilliant idea of simplifying my rather old codebase for AllOrNone.org by using that module instead of messing around with endless SQL-fu.
Having now spent most of the weekend banging my head against various little details and intricacies of both Perl’s syntax and its object oriented implementation approximation hack along with Class::DBI’s poor and disparate documentation I have finally had it! All along I thought to myself:
Man, what kind of broken syntax is this?
Man, why doesn’t this work as seemlessly as ActiveRecord?
Man, what kind of fucked up syntax is this?
Man, this Class::DBI scherade really is a turd in disguise.
Man, why the fuck doesn’t this work like ActiveRecord?
Man, why do I have to jump through hoops to do the simplest things?
Man, this is too much effort. I’ll be rewriting it in Ruby on Rails later on anyway.
Man, why isn’t this crap module properly documented?
Right. This is it. I’m rewriting this in Ruby on Rails.