On Tue, 16 Nov 2004 00:03:33 -0600, Christopher Bradford <[EMAIL PROTECTED]> wrote: > But there is a case in which public data members are perfectly fine: > class-specific constants. In Java, these are declared as public static > final. Unfortunately, as far as I can tell, there isn't a way to duplicate > this in CF. Any suggestions? I noticed that the Mach-II framework uses the > "this" scope for precisely this kind of thing (in the filters that ship with > the framework).
Funnily enough I just had that exact same discussion on the mach-ii-coldfusion list! Yes, that's exactly why Mach II uses that idiom - Ben Edwards is primarily a Java programmer. But you're right that CF has no real equivalent. -- Sean A Corfield -- http://www.corfield.org/ Team Fusebox -- http://www.fusebox.org/ Breeze Me! -- http://www.corfield.org/breezeme Got Gmail? -- I have 1 invite "If you're not annoying somebody, you're not really alive." -- Margaret Atwood ---------------------------------------------------------- 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 [EMAIL PROTECTED]
