> -----Original Message-----
> From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf
> Of Barry Beattie
> Sent: Sunday, April 02, 2006 7:22 PM
> To: [email protected]
> Subject: Re: [CFCDev] so what should be the (max number of argument to
> init method)?
> 
> yep, and we have too on occasion. broken down functionality into more
> logical bite-sized pieces.

Of course if it makes sense as a struct it probably makes sense as an
object.

So instead of passing a struct representing 10 of your fields you pass a
component instance with those properties - and it's that component that does
all of your type-checking and documentation generation and so forth.

Jim Davis



----------------------------------------------------------
You are subscribed to cfcdev. To unsubscribe, send an email to 
[email protected] with the words 'unsubscribe cfcdev' as the subject of the 
email.

CFCDev is run by CFCZone (www.cfczone.org) and supported by CFXHosting 
(www.cfxhosting.com).

An archive of the CFCDev list is available at 
www.mail-archive.com/[email protected]


Reply via email to