One thing I really bother about is that you can't use an overridden or overloaded method, which I use thoroughly in ASP.NET. ColdFusion just don't allow you (correct me if I'm wrong) to use the same function name twice, although it has a different set of arguments (overload) or I want to overrule a method from a base class (override).
Someone correct me if I'm wrong, but...
CF does allow overriding in my tests. ( Although I've never tried this sort of thing in production ).
Since CF is not a typed language, overloading (same method name, different parameter list) doesn't really apply. You can list all the relevant parameters using the cfargument tag, make them not required, and then use IsDefined to execute code based on what is (or isn't) defined. I wouldn't call that overloading exactly, but it does serve a similar purpose.
--
Jeffry Houser, Web Developer, Writer, Songwriter, Recording Engineer
<mailto:[EMAIL PROTECTED]>
--
AIM: Reboog711 | Phone: 1-203-379-0773
--
My Books: <http://www.instantcoldfusion.com>
Recording Music: <http://www.fcfstudios.com>
Original Energetic Acoustic Rock: <http://www.farcryfly.com>
----------------------------------------------------------
You are subscribed to cfcdev. To unsubscribe, send an email
to [EMAIL PROTECTED] with the words 'unsubscribe cfcdev' in the message of the email.
CFCDev is run by CFCZone (www.cfczone.org) and supported by Mindtool, Corporation (www.mindtool.com).
An archive of the CFCDev list is available at www.mail-archive.com/[EMAIL PROTECTED]
