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 mine :-) > Yes, which was partly why I said the survey was loaded... Saw that, but didn't want to affect the survey. > Technically that's not overloading. Overloading is specifically > multiple functions with the same name. Overload resolution - the > process of figuring out the best match function to call - is a complex > algorithm that you cannot reasonably implement at runtime without a > big performance hit. bar(a:String) and bar(a:Array) as opposed to bar(a:any) ? I think I was thinking of polymorphism. > Constructors are just methods with a name determined by convention. In other OO languages, the constructor is always called (or has to be called by the parent code) doesn't it ? This is not the case with init(). > > > Multiple Inheritance: 2% > > > > You do not want this. It's the wrong solution to composition. > > Well, actually there are situations where multiple inheritance is a > very elegant solution - in a statically typed language. However, > dynamic languages tend to solve this using runtime mixins instead - > which is the "correct" elegant solution for dynamically typed > languages. You're explanation was much better than mine :-) -- Tom Chiverton Helping to synergistically cultivate one-to-one features on: http://thefalken.livejournal.com **************************************************** This email is sent for and on behalf of Halliwells LLP. Halliwells LLP is a limited liability partnership registered in England and Wales under registered number OC307980 whose registered office address is at St James's Court Brown Street Manchester M2 2JF. A list of members is available for inspection at the registered office. Any reference to a partner in relation to Halliwells LLP means a member of Halliwells LLP. Regulated by the Law Society. CONFIDENTIALITY This email is intended only for the use of the addressee named above and may be confidential or legally privileged. If you are not the addressee you must not read it and must not use any information contained in nor copy it nor inform any person other than Halliwells LLP or the addressee of its existence or contents. If you have received this email in error please delete it and notify Halliwells LLP IT Department on 0870 365 8008. For more information about Halliwells LLP visit www.halliwells.com. ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Create Web Applications With ColdFusion MX7 & Flex 2. Build powerful, scalable RIAs. Free Trial http://www.adobe.com/products/coldfusion/flex2/?sdid=RVJS Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:283367 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4

