November 14, 2018
  • What we have here, is a failure to communicate…

The Art Of PHP

That is not a typo. I don’t believe that what I do is as much a science as it is an art. I doubt I am alone in that feeling. I LOVE writing PHP. I mean, nothing expresses what goes on in my head like this extremely flexible, yet  highly structurable language. My head’s a scary place. Heck, I even talk in parentheses most of the time. It’s a wonder that I EVER get to the point…but I do…usually.

I love building intricate structures, and then refining, and refining, and (you get the picture.) But having programmed in several other languages, some of which I really enjoy (C#, AutoIt) and others not so much (VB), and PHP is by far the most flexible and fun to write. I like the fact to write good code with it, I have to create my own rules (unlike C#, which is someone else’s rules…not that they are bad rules, but they are not mine.)

I am particulary fond of writing classes in the Singleton pattern. I’m sure if some mature developers looked my (over)use of this beautiful code structure, they would gag, but it’s not their code…it’s mine. One of the things that I love about being the senios developer (and boss) at my firm is the ability to guide the junior developers into the methodology that I find most effectice. I find that writing code that others will use to write code is such an interesting challenge. Trying to find the balance between thinking too much for them, and providing an underlying foundation that supports their work and makes them more effective and efficient, is an ever evolving process.

I really find the whole process so fascinating – in fact, I’ve woke up and found that I was writing code in sleep (too bad, I can’t remember it….or maybe I can, I just don’t know that’s what I am doing.)

Sweet dreams.