Adam, I think that sounds like a great idea.  Overloadable methods would
be a nice addition.  While they're at it, how about <cfinterface> to
define (you guessed it) interfaces?

Though I don't quite see why they couldn't modify <cffuntion> to allow
for multiple functions with different sets of arguments. What am I
missing?

> -----Original Message-----
> From: [EMAIL PROTECTED] 
> [mailto:[EMAIL PROTECTED] On Behalf Of Adam Cameron
> Sent: Monday, December 29, 2003 3:08 PM
> To: [EMAIL PROTECTED]
> Cc: David Lobb
> Subject: [CFCDev] <cfmethod>
> 
> 
> G'day:
> I was thinking of entering a "wishlist" suggestion to MM 
> along the lines of a <cfmethod> tag that could be used in a 
> CFC to faciliate overloadable methods.
> 
> <cffunction> doesn't have the correct sort of implementation 
> to be able to do this (or hack it, or work around it), and is 
> probably best left as something to concoct UDFs.
> 
> The chief difference I'd perceive between the two tags would 
> be that there could be - within a CFC - any number of 
> <cfmethods> of the same name, as long as their <cfarguments> 
> are different (all reqd, though), and their return types are 
> the same.  You know: kind of how it *should* have been in the 
> first place.
> 
> Anyway, I thought I'd mention it here first, to see what 
> people thought?
> 
> Cheers.
> 
> Adam Cameron
> Senior Application Developer
> Straker Interactive
> 
> Ph: +64 9 3605034
> Fx: +64 9 3605870
> Email: [EMAIL PROTECTED]
> ----------------------------------------------------------
> 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]
> 

----------------------------------------------------------
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]

Reply via email to