> Really, though, like Hal said in another post to this thread, Simon > Horwith said at PbD, and others have said... if you want Java, program in > Java. It's not what CF was meant for.
I think you've confused me with someone else or you've misunderstood what I was saying. I am most certainly not arguing that ColdFusion needs nulls, interfaces, strong typing, etc. "Null Object" is a pattern. It's not a feature of the language. That's why I put it in mixed case. > Incidentally, though, Ben... if you had 2 objects both called user.cfc, > one at /lib/classes/null/user.cfc and one at /lib/classes/user.cfc and the > init method for either simply returned "user" they should be > interchangeable so long as they both implemented isUserAuthenticated() > with the same returntype. I thought about that. I didn't have time to test to see whether or not that would work. Have you and does it? Ben Rogers http://www.c4.net v.508.240.0051 f.508.240.0057 ---------------------------------------------------------- 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]
