I agree... I think interfaces would give us more bang for our buck and would be easier to implement by the cf product team, especially because interfaces have less a chance of backward-compatibilty issues than adding something like null to the entire language.
-Dave >>> [EMAIL PROTECTED] 05/14/05 2:34 AM >>> On 5/13/05, Jerry Ela <[EMAIL PROTECTED]> wrote: > Well how about interfaces. Now obviously interfaces where the compiler > verifies that the cfc has implemented the defined method signatures of the > interface is not going to happen in CF. But I think a light weight style of > interfaces would be easy to implement, appropriate to CF, an useful. Yeah, I think interfaces could be implemented reasonably easily. I would want to introduce a <cfinterface> tag that behaved like <cfcomponent> in most respects. implements= and extends= would behave very similarly too. One thing to consider syntactically is that a CFC would be able to implement multiple interfaces (like Java). There's a few gotchas to figure out but I personally don't think it would be too hard (but, hey, I'm not part of the CF product team!). -- Sean A Corfield -- http://corfield.org/ Team Fusebox -- http://fusebox.org/ Got Gmail? -- I have 50, yes 50, invites to give away! "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' as the subject of the email. CFCDev is run by CFCZone (www.cfczone.org) and supported by CFXHosting (www.cfxhosting.com). CFCDev is supported by New Atlanta, makers of BlueDragon http://www.newatlanta.com/products/bluedragon/index.cfm 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' as the subject of the email. CFCDev is run by CFCZone (www.cfczone.org) and supported by CFXHosting (www.cfxhosting.com). CFCDev is supported by New Atlanta, makers of BlueDragon http://www.newatlanta.com/products/bluedragon/index.cfm An archive of the CFCDev list is available at www.mail-archive.com/[email protected]
