Re: SURVEY RESULTS: Is ColdFusion OO?

2007-07-12 Thread Sean Corfield
On 7/11/07, Jaime Metcher [EMAIL PROTECTED] wrote: Just musing about how to preserve some of the documentation benefits of typing in the presence of duck-typing. Use the hint= attribute and readable argument names. I've seen various (repeated) suggestions to use custom attributes such as

RE: SURVEY RESULTS: Is ColdFusion OO?

2007-07-12 Thread Jim Davis
-Original Message- From: Sean Corfield [mailto:[EMAIL PROTECTED] Sent: Thursday, July 12, 2007 2:14 AM To: CF-Talk Subject: Re: SURVEY RESULTS: Is ColdFusion OO? On 7/11/07, Jaime Metcher [EMAIL PROTECTED] wrote: Just musing about how to preserve some of the documentation

Re: Metadata for code documentation (was RE: SURVEY RESULTS: Is ColdFusion OO?)

2007-07-12 Thread Tom Chiverton
On Wednesday 11 Jul 2007, Jaime Metcher wrote: there is no enforceable contract, so cfinterface turns into an elaborate commenting mechanism with a runtime performance penalty. Did you try the CF8 beta yet :-) ? That's the Mona Lisa smiley - I can tell you're thinking something, but

Re: SURVEY RESULTS: Is ColdFusion OO?

2007-07-12 Thread Tom Chiverton
On Thursday 12 Jul 2007, Sean Corfield wrote: as _type= and _returntype but I really don't see the point. If CF7, just setting a using type/returntype is slow (vs. not doing so). However, Mark Drew (and, yes, maybe your fellow programmers / CFCDoc) would still like that info there so

RE: SURVEY RESULTS: Is ColdFusion OO?

2007-07-11 Thread Andrew Scott
Developer Aegeon Pty. Ltd. www.aegeon.com.au Phone: +613 8676 4223 Mobile: 0404 998 273 -Original Message- From: Sean Corfield [mailto:[EMAIL PROTECTED] Sent: Tuesday, 10 July 2007 7:00 PM To: CF-Talk Subject: Re: SURVEY RESULTS: Is ColdFusion OO? On 7/10/07, Andrew Scott [EMAIL PROTECTED

Re: SURVEY RESULTS: Is ColdFusion OO?

2007-07-11 Thread Robertson-Ravo, Neil (RX)
website at http://www.reedexpo.com -Original Message- From: Andrew Scott To: CF-Talk Sent: Wed Jul 11 07:25:31 2007 Subject: RE: SURVEY RESULTS: Is ColdFusion OO? Sean, I am going to ask in a different way, and I would hope that you can provide a code example to explain you reasoning in more

Re: Metadata for code documentation (was RE: SURVEY RESULTS: Is ColdFusion OO?)

2007-07-11 Thread Tom Chiverton
On Wednesday 11 Jul 2007, Jaime Metcher wrote: there is no enforceable contract, so cfinterface turns into an elaborate commenting mechanism with a runtime performance penalty. Did you try the CF8 beta yet :-) ? -- Tom Chiverton Helping to synergistically accelerate sexy e-business on:

Re: Metadata for code documentation (was RE: SURVEY RESULTS: Is ColdFusion OO?)

2007-07-11 Thread Dominic Watson
Message- From: Tom Chiverton [mailto:[EMAIL PROTECTED] Sent: Tuesday, 10 July 2007 7:16 PM To: CF-Talk Subject: Re: SURVEY RESULTS: Is ColdFusion OO? On Tuesday 10 Jul 2007, Sean Corfield wrote: In ColdFusion, all type checking is done at run time. So if you use interfaces, you

Re: SURVEY RESULTS: Is ColdFusion OO?

2007-07-11 Thread Sean Corfield
On 7/10/07, Andrew Scott [EMAIL PROTECTED] wrote: When learning design patterns in Java, the book Head First Design Patterns gives a good example on the duck, with interfaces and implementation. Right, in *JAVA*. If you look at the classic Design Patterns book - the so-called Gang of Four book

Re: SURVEY RESULTS: Is ColdFusion OO?

2007-07-11 Thread Nathan Strutz
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

RE: Metadata for code documentation (was RE: SURVEY RESULTS: Is ColdFusion OO?)

2007-07-11 Thread Jaime Metcher
-Original Message- From: Tom Chiverton [mailto:[EMAIL PROTECTED] Sent: Wednesday, 11 July 2007 7:59 PM To: CF-Talk Subject: Re: Metadata for code documentation (was RE: SURVEY RESULTS: Is ColdFusion OO?) On Wednesday 11 Jul 2007, Jaime Metcher wrote: there is no enforceable

Re: SURVEY RESULTS: Is ColdFusion OO?

2007-07-11 Thread Sean Corfield
On 7/11/07, Nathan Strutz [EMAIL PROTECTED] wrote: 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,

Re: SURVEY RESULTS: Is ColdFusion OO?

2007-07-11 Thread Sean Corfield
On 7/10/07, Tom Chiverton [EMAIL PROTECTED] wrote: I *think* CF8's IsInstanceOf() will still throw an error if you've broken the contract. Based on my testing... It will return NO, because it tests - at runtime - that the contract still holds. However, type=ISomething on an argument does not

RE: SURVEY RESULTS: Is ColdFusion OO?

2007-07-11 Thread Jaime Metcher
-Original Message- From: Sean Corfield [mailto:[EMAIL PROTECTED] Sent: Thursday, 12 July 2007 2:21 AM To: CF-Talk Subject: Re: SURVEY RESULTS: Is ColdFusion OO? 2) simply use type=any and allow any strategy object to be pass in - if it doesn't implement the right methods, you'll

Re: SURVEY RESULTS: Is ColdFusion OO?

2007-07-10 Thread Sean Corfield
On 7/9/07, Steve Brownlee [EMAIL PROTECTED] wrote: - Overloading - Generics - Method overriding - Static methods - And most importantly, it's not typed (i.e. you can't cast a Sphere CFC as a Ball CFC, among a myriad of other possibilities) None of these has the slightest thing to do with

Re: SURVEY RESULTS: Is ColdFusion OO?

2007-07-10 Thread Sean Corfield
On 7/9/07, Dale Fraser [EMAIL PROTECTED] wrote: 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 I don't

Re: SURVEY RESULTS: Is ColdFusion OO?

2007-07-10 Thread Robertson-Ravo, Neil (RX)
: Sean Corfield To: CF-Talk Sent: Tue Jul 10 09:01:41 2007 Subject: Re: SURVEY RESULTS: Is ColdFusion OO? On 7/9/07, Steve Brownlee [EMAIL PROTECTED] wrote: - Overloading - Generics - Method overriding - Static methods - And most importantly, it's not typed (i.e. you can't cast a Sphere CFC

Re: SURVEY RESULTS: Is ColdFusion OO?

2007-07-10 Thread Andrew Scott
expressed within this communication are not necessarily those expressed by Reed Exhibitions. Visit our website at http://www.reedexpo.com -Original Message- From: Sean Corfield To: CF-Talk Sent: Tue Jul 10 09:01:41 2007 Subject: Re: SURVEY RESULTS: Is ColdFusion OO? On 7/9/07, Steve

Re: SURVEY RESULTS: Is ColdFusion OO?

2007-07-10 Thread Tom Chiverton
On Tuesday 10 Jul 2007, Andrew Scott wrote: Sean why are you so against this? I welcome this with great open arms... I think he felt in the past that now everyone will start splattering CFINTERFACE across everything, without good reason. -- Tom Chiverton Helping to preemptively compete

Re: SURVEY RESULTS: Is ColdFusion OO?

2007-07-10 Thread Tom Chiverton
On Tuesday 10 Jul 2007, Dale Fraser wrote: (now the poll has closed, I want to comment on your questions) 1. Do you consider ColdFusion to be Object Oriented? It has createObject(), which can make things with properties and methods - therefore it has objects, therefore it's OO. I'd love to

Re: SURVEY RESULTS: Is ColdFusion OO?

2007-07-10 Thread Sean Corfield
On 7/10/07, Andrew Scott [EMAIL PROTECTED] wrote: Sean why are you so against this? I welcome this with great open arms... Java needed interfaces because it is a statically typed language and had chosen not to support multiple inheritance. It had no choice. In ColdFusion, all type checking is

Re: SURVEY RESULTS: Is ColdFusion OO?

2007-07-10 Thread Sean Corfield
On 7/10/07, Tom Chiverton [EMAIL PROTECTED] wrote: It has createObject(), which can make things with properties and methods - therefore it has objects, therefore it's OO. That just makes it object-based. However, it has inheritance, polymorphism (because it has dynamic dispatch via inheritance)

Re: SURVEY RESULTS: Is ColdFusion OO?

2007-07-10 Thread Tom Chiverton
On Tuesday 10 Jul 2007, Sean Corfield wrote: In ColdFusion, all type checking is done at run time. So if you use interfaces, you will get a *runtime* check, just like all the other checks. And if you screw up, you'll get a runtime error. If you use interfaces, the error just has different text

Re: SURVEY RESULTS: Is ColdFusion OO?

2007-07-10 Thread Tom Chiverton
On Tuesday 10 Jul 2007, Sean Corfield wrote: That just makes it object-based. However, it has inheritance, polymorphism (because it has dynamic dispatch via inheritance) and encapsulation (public / private data methods). That is what makes it OO. Your memory of CompSci 101 is better than

RE: SURVEY RESULTS: Is ColdFusion OO?

2007-07-10 Thread Dan G. Switzer, II
Smackdown... Boo ya. Just don't get Sean started on Interfaces :-p Or tell him you want to duplicate() a component. :) ~| Deploy Web Applications Quickly across the enterprise with ColdFusion MX7 Flex 2 Free Trial

RE: SURVEY RESULTS: Is ColdFusion OO?

2007-07-10 Thread Andy Matthews
- From: Steve Brownlee [mailto:[EMAIL PROTECTED] Sent: Monday, July 09, 2007 10:01 PM To: CF-Talk Subject: RE: SURVEY RESULTS: Is ColdFusion OO? Definitely some interesting results. I'll simply add my voice to mix and say that ColdFusion is absolutely, positively, not an OO language. Granted

RE: SURVEY RESULTS: Is ColdFusion OO?

2007-07-10 Thread Andy Matthews
Fraser [mailto:[EMAIL PROTECTED] Sent: Monday, July 09, 2007 9:45 PM To: CF-Talk Subject: RE: SURVEY RESULTS: Is ColdFusion OO? Ray, I look forward to your post. We write code where each cfc is an object which has a constructor, create instances of these, have them inherit from others, override

Metadata for code documentation (was RE: SURVEY RESULTS: Is ColdFusion OO?)

2007-07-10 Thread Jaime Metcher
-Original Message- From: Tom Chiverton [mailto:[EMAIL PROTECTED] Sent: Tuesday, 10 July 2007 7:16 PM To: CF-Talk Subject: Re: SURVEY RESULTS: Is ColdFusion OO? On Tuesday 10 Jul 2007, Sean Corfield wrote: In ColdFusion, all type checking is done at run time. So if you use

RE: SURVEY RESULTS: Is ColdFusion OO?

2007-07-10 Thread Eric Roberts
to do with OO. Eric -Original Message- From: Sean Corfield [mailto:[EMAIL PROTECTED] Sent: Tuesday, July 10, 2007 3:02 AM To: CF-Talk Subject: Re: SURVEY RESULTS: Is ColdFusion OO? On 7/9/07, Steve Brownlee [EMAIL PROTECTED] wrote: - Overloading - Generics - Method overriding

Re: SURVEY RESULTS: Is ColdFusion OO?

2007-07-10 Thread Nicholas Tunney
remember correctly from my C days, you can overload in C...so I would agree that these have nothing to do with OO. Eric -Original Message- From: Sean Corfield [mailto:[EMAIL PROTECTED] Sent: Tuesday, July 10, 2007 3:02 AM To: CF-Talk Subject: Re: SURVEY RESULTS: Is ColdFusion OO

Re: SURVEY RESULTS: Is ColdFusion OO?

2007-07-10 Thread Sean Corfield
On 7/10/07, Eric Roberts [EMAIL PROTECTED] wrote: Why can't you have overloading in a dynamically typed language? Because of the overhead of performing overload resolution - which you'd have to do at runtime in a dynamic language. Read this for more details:

RE: SURVEY RESULTS: Is ColdFusion OO?

2007-07-09 Thread John Mason
So ColdFusion is Object Oriented after all, I have always thought so and am supported by the numbers Just a quick point here, a simple informal poll isn't going to provide you with any statistical significance. You think CF is OO and some people agree with you that's about all you can honestly

Re: SURVEY RESULTS: Is ColdFusion OO?

2007-07-09 Thread Raymond Camden
Yeah, I'm going to stand by my assertions. I'm sure I could run a survey and get #s in the total opposite direction. I promised Dale that I'd open the discussion up on my blog, and I will. (Not to say it can't happen here, but as it started on my blog, I'd like to talk about it there as well.)

RE: SURVEY RESULTS: Is ColdFusion OO?

2007-07-09 Thread Dale Fraser
http://dalefraser.blogspot.com -Original Message- From: Raymond Camden [mailto:[EMAIL PROTECTED] Sent: Tuesday, 10 July 2007 12:27 PM To: CF-Talk Subject: Re: SURVEY RESULTS: Is ColdFusion OO? Yeah, I'm going to stand by my assertions. I'm sure I could run a survey and get #s

RE: SURVEY RESULTS: Is ColdFusion OO?

2007-07-09 Thread Eric Roberts
I think the answer lies in between yes and no. It has properties that lend to OO. It also has properties that are very structural in nature. Can it be used in a manner similar to OO...by means yes. Is it pure OO...no. Eric -Original Message- From: Dale Fraser [mailto:[EMAIL

RE: SURVEY RESULTS: Is ColdFusion OO?

2007-07-09 Thread Steve Brownlee
Definitely some interesting results. I'll simply add my voice to mix and say that ColdFusion is absolutely, positively, not an OO language. Granted, Macromedia and Adobe have added some great features that allow us to mimic the elements of OO, but in essence all they've done is expose a very

RE: SURVEY RESULTS: Is ColdFusion OO?

2007-07-09 Thread Dale Fraser
Fraser http://dalefraser.blogspot.com -Original Message- From: Eric Roberts [mailto:[EMAIL PROTECTED] Sent: Tuesday, 10 July 2007 12:55 PM To: CF-Talk Subject: RE: SURVEY RESULTS: Is ColdFusion OO? I think the answer lies in between yes and no. It has properties that lend to OO

Re: SURVEY RESULTS: Is ColdFusion OO?

2007-07-09 Thread Raymond Camden
I'm posting on your blog Dale. As Michael has says, this is not the list for OO stuff, and since the conversation has started there, it doesn't make sense for me to post another thread on my blog. (Although I did ask my readers to visit your blog and comment there.) On 7/9/07, Dale Fraser [EMAIL

RE: SURVEY RESULTS: Is ColdFusion OO?

2007-07-09 Thread Dale Fraser
- Method overriding CF has this already Regards Dale Fraser http://dalefraser.blogspot.com -Original Message- From: Steve Brownlee [mailto:[EMAIL PROTECTED] Sent: Tuesday, 10 July 2007 1:01 PM To: CF-Talk Subject: RE: SURVEY RESULTS: Is ColdFusion OO? Definitely some interesting