Without getting into how the survey was unfair or whatever, I answered based on what I read at wikipedia:
http://en.wikipedia.org/wiki/Object-oriented_programming The fundamental parts of an OOPL are classes, objects, methods, passing messages, inheritance, encapsulation, abstraction and polymorphism. It seems to me that encapsulation and abstraction are more like programmer features than programming language features, but the language has to provide a little something for those to happen. Under this definition, I would say that CF passes the test pretty easily. I voted yes. BTW I didn't see CF anywhere on the wikipedia entry, so I added it in the scripting section :) For those mentioned missing features in the survey, I know we've been bickering for the last few days, but I wanted to pitch my 2c ... 1) Overloading, while nice to have, wouldn't work so well, and would make CFCs more complicated. 2) Constructors, yeah, i could see an argument for that, but there's already a well established workaround. 3) Interfaces are coming, I recommend that they are only used in extreme cases, but I've hit a few spots where I wanted to make one and there was no obvious way to go. I think the problem here is the complexity it adds to the already hard-to-grasp-for-newbies CFC development paradigm. 4) Multiple Inheritance, not many languages have this. Read a pattern book and get over it. 5) Serialization for components is also coming, but it's not a language feature and has nothing to do with OOP. I think the reason why people would vote "no" to the main question is that we know in an OOPL we create an object and call methods on it. new struct(), struct.keyList(), but in CF we do structNew(), structKeyList(myStruct). It doesn't "feel" OO, even as much as javascript does, unless you're heavily using CFCs for everything. -- nathan strutz http://www.dopefly.com/ On 7/9/07, Dale Fraser <[EMAIL PROTECTED]> wrote: > > After reading a Blog Entry of Ray Camden, in a general comment, he made > this > statement. > > "CF is not OO. CF should NOT be OO. And lastly, I pray to God that CF > never > becomes OO." > > I didn't agree, I actually think ColdFusion is OO, and thought that view > especially from Ray was odd, then I thought, well perhaps I have it wrong, > perhaps CF is not OO and i'm the only one who thinks it is. So I ran a > Survey, posted to both cftalk and cfaussie. > > The results are quite interesting. > > 1. Do you consider ColdFusion to be Object Oriented? > Yes: 66% > No: 34% > > 2. What percentage do you think ColdFusion achieves the ability to code OO > style. > 0-20%: 2% > 20-40%: 4% > 40-60%: 24% > 60-80%: 44% > 80-100%: 26% > > 3. Would you like the Adobe ColdFusion team to further develop ColdFusion > OO > features? > Yes: 58% > No: 42% > > 4. What is the number one feature missing from ColdFusion from an OO point > of view? > None / Pass: 52% > Overloading: 16% > Constructors: 10% > Overriding: 4% > Interfaces: 4% > Multiple Inheritance: 2% > Serialization: 2% > Other: 10% > > That last one was free text, so I combined a lot of dumb answers into None > / > Pass and lots of single votes into Other. I consider that CF already does > Overriding, but I left it in the stats and CF8 does Interfaces but I left > it > in also. > > But here is my summary of the survey > > Of the people surveyed 66% of people think that ColdFusion is an Object > Oriented language, 70% of people think that the OO features are between > 60-100%, just over half 58% of people think more development needs to be > done and the main two things missing are Overloading and Constructors. > > So ColdFusion is Object Oriented after all, I have always thought so and > am > supported by the numbers, we here code our entire application in a OO way > so > to me it was a no brainer. You could read deeper that if Adobe just added > Overloading and Constructors that the CF OO feel would be almost complete > but then again 52% of people passed on what the main missing feature was. > > Regards > Dale Fraser > > > > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| CF 8 â Scorpio beta now available, easily build great internet experiences â Try it now on Labs http://www.adobe.com/cfusion/entitlement/index.cfm?e=labs_adobecf8_beta Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:283490 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4

