What is this OO?

The recent discussion on OO programming has created quite a bit of discussion, some with more heat than light, but other thoughts that have been illuminating. Some discussions covered whether or not OO has "won" over procedural programming. Some have suggested that those avoiding OO do so because they are unable or unwilling to learn new things.

My favorite thing, however, was "sipping the [OO] kool-aid" by Matt Williams (I owe you a beer, Matt!).

[More]

Related Blog Entries

Comments (Comment Moderation is enabled. Your comment will not appear until approved.)
Like everything else OOP has it's place. I think at times the principles of OOP can be applied to ColdFusion without going overboard. I do think that sometimes we as ColdFusion Developers tend to want to "legitimize" CF by showing how it can do what Java or .NET can do complete with it's frameworks, etc. There are times where I think inheritance, encapsulation, polymorphism, and other OO concepts can and should be applied, but not all the time. I think MVC is a good pattern, but not the only pattern. Hell, sometimes the myPattern Pattern is the best. Overall, I believe as long as CF Developers remember why we love CF in the first place (speed, ease of use, etc.) and not get too bogged down in the formalities that tend to go with Java (especially) and .NET development, I think CF will be just fine.
# Posted By James White | 5/28/09 7:06 AM
Not that I don't mind getting referred, but ya'll have the wrong Matt Williams linked ;). There's a ton of us "Matt Williams" out there (in fact at least one other in the Raleigh/Charlotte area who is also a CF programmer) and two of us currently active on CF-Talk... which is why I usually go by "Matthew" to help clear up confusion. It appears that there's a comment here (well, I would link to it, but it's getting killed by the spam protector... I just did a google search for Matt Williams and kool-aid) by the correct Matt Williams dealing with drinking the OO kool-aid.
# Posted By Matthew Williams | 6/18/09 10:48 AM
Matthew is right, Matt made that comment, not Matthew. Get us straight already! :) Heh.

When I thought of sipping the OO Kool-Aid I had in mind a basic application that simply puts similar logic or queries into a few encapsulated objects and uses those through out the application. Perhaps even just using DataMgr is a way to get into some OO concepts.

As for my personal sipping, I have been using OO frameworks for a few years now, but wouldn't consider myself an OO purist or always able to do it right. Why do it right the first time when refactoring is so much fun? Or at least it can be rewarding.
# Posted By Matt Williams | 6/24/09 9:33 AM
And I thought OO was hard!

OK, I think I have the link fixed now.

The term "object" seems a bit loaded to me. I use CFCs that follow most OO principles with some frequency, but they aren't true objects except in rare conditions.

Nonetheless, I still like your thought of sipping the OO Kool-Aid. Good stuff!
# Posted By Steve Bryant | 6/24/09 10:40 PM
BlogCFC was created by Raymond Camden. This blog is running version 5.8.001.