I will not debate PHP vs. Ruby
Wednesday, January 20th, 2010I am a PHP programmer. I have been a PHP programmer for most of a decade. My license plate says “PHP DEV”, and I have PHPUnit tattooed on my arm (in Kanji). It is with that overly-defensive attitude that I must admit the inevitable: my latest project is in Ruby.
Shock. Awe. I know. It was an easy decision based on the server stack we were running, our growth plans, and the fact that we needed to train intern developers with a very quick turnaround. We went with the sexy newcomer, but that’s not the interesting story. The interesting part is that it wasn’t a big deal at all. With good frameworks, it didn’t really matter what language we chose.
Part of the reason that I love frameworks so much is that dropping from CakePHP to Ruby on Rails is a syntactical change and not a process change. In a way, frameworks are just enforced design patterns (MVC, mostly, in my case). Plus, playing with a different language after all this time away has been great experience. This jaunt into the land o’ pure object-oriented madness and strict coding rules has made my PHP coding (especially CakePHP) better. I have new appreciation for fat models and thin controllers, and I throw in the ternary operator more often. On top of that, I’m getting to teach people (like my friend Neil) who have never really done web development on this level. Through teaching others about MVC architectures, I’ve gotten better.
So, I’m still a PHP developer. It’s the basis for 80% of my work projects and all of my freelancing.
I’m having fun, though, on the other side. Stretching my PHP skills, adding to my toolbox, and remembering that I was just a better programmer when I couldn’t rely on ten-year old knowledge.
Our dog is not a workaholic. Aingeal (our aforementioned pet) has a very important job at our house: keep pre-pubescent boys and harmless animals away from our fence. Our dog loves everybody to a the point of being pathetic, but she knows she must be eternally vigilant to keep our house safe from neighbors and cats. This is not just her job; it is her passion. Still, she knows when it’s time to work and when it’s time to relax. Aingeal has the best work/life balance in our house. So, I’ve learned four things from her example.
