ColdFusion and OOP - Match Made in Heaven, or Long Road to Hell?
For a long time, Hal Helms has been my beacon of hope in the world of object oriented programming madness. With many years of OO programming experience across a variety of different languages, I thought, some how, if I could just understand the concepts that he did, I would finally be able to wrap my head around the beast which is OO. As such, I read his articles, subscribed to his occasional newsletter, and even twice attended his "Real World OO" seminar. That said, you can imagine my shock when Clark Valberg came into the office the other day and told me that Hal no longer believes that Object Oriented Programming should be used in ColdFusion specifically.
This sudden heresy set the stage for some very interesting conversation. And that's just what happened. This last weekend, two of ColdFusion's OO icons - Hal Helms and Brian Kotek - got together with me to duke it out verbally. Brian was pro-OO, Hal was the newly risen opponent of OO, and I was the poor, confused, procedural developer in the middle who didn't know to think (I know it's a stretch, but I pulled it off well).
If you want to listen, Hal Helms has posted his description and a Flash Player for the pod cast. If you want to be part of the conversation, please post your comments to Google Groups so the conversation does not get fragmented.
NOTE: I can't disable comments on my blog, but please do NOT post your comments here.
I would think that learning Java or something similar (C#,C++,Actionscript 3,PHP etc) - (maybe preferably a language with curly braces???) is the best to grasp object oriented thinking. And be a developer who can more than a language. Propably hard to be a expert in it but at least know some other stuff besides one tool or one language. Isn't OO in coldfusion whipping out CFC:s the OO thing? What more lies in it? A CFC is like a class in java but written with tags instead? And OO is not a solution to all problems, sometimes it can be a longer road to a solution when a simpler approach would just be fine.
Are you seriously comparing PHP to C# and C++ because they have "curly braces"? How do you suggest these languages relate beside that? Don't you think that PHP by nature is a lot closer to ColdFusion? I guess I must be confused by your definition of the "OO thing" because I love CF but CFCs are close to being classes without being... well classes.
What I've done with PHP is that you can create classes in the same way as in C# and Java, and thus create object-oriented applications if you wish. Sure, there are some differences and the syntax is not entirely the same. And PHP is loosely typed which Coldfusion is also, but C# and Java are strongly typed. I'm not all that sure about what to call Coldfusion Object Orientation - is it CFC:s?
Your site is a refreshing change from the majority of sites I have visited. http://google.com
Thanks Ann, that is super sweet of you to say :)