>>While I like the concept of CFCs and think
>>it's a great addition they lack of some OO capabilities
>>(polymorphism, overloading methods, etc) that limit what
>>you can do with them. ColdFusion, for all intensive
>>purposes, is a procedural language.


Why do you say CF lacks polymorphism?

parentClass.draw() = circle
 -> descendantClass.draw() = square

That's polymorphism is it not?


Overloaded methods in my experience are reasonably easy to simulate
with optional arguments, functions that accept variable argument
types, slightly altered method names (getPropertyByID() -
getPropertyByName()), etc. No it's not technically overloading, but it
accomplishes the same ends and is in my experience no more difficult
to implement.


That being said, yes ColdFusion has procedural roots, and personally
I'm still not entirely happy with it's OO implementation, but not for
these two reasons (or for the lack of interfaces).


s. isaac dealey   954.522.6080
new epoch : isn't it time for a change?

add features without fixtures with
the onTap open source framework

http://macromedia.breezecentral.com/p49777853/
http://www.sys-con.com/author/?id=4806
http://www.fusiontap.com



~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Find out how CFTicket can increase your company's customer support 
efficiency by 100%
http://www.houseoffusion.com/banners/view.cfm?bannerid=49

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:204340
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54

Reply via email to