Nat Papovich said the following on 1/20/2006 1:10 PM:
Agreed. I find myself doing more complex things than needed. Planning for future additions is different than saving keystrokes. I'm know I'm sound like a broken record, but accessor methods (in general) follow such a "strict" format - it's silly not to use some sort of code generator. I particularly like the accessor method description at Wikipedia (http://en.wikipedia.org/wiki/Accessor_method): An accessor method is a kind of method that is usually small, simple and provides the means for the state of an object to be accessed from other parts of a program. Although it introduces a new dependency, use of the methods are preferred to directly accessing state data because they provide an abstraction layer.The key word to me is "provide an abstraction layer"...why would added another layer of abstraction (meaning an uber get() or set() methods with custom method lookup)? I'm no OOP guru...any thoughts? -- Peter J. Farrell :: Maestro Publishing http://blog.maestropublishing.com Rooibos Generator - Version 2.1 Create boilerplate beans and transfer objects for ColdFusion! http://rooibos.maestropublishing.com/ - Member Team Mach-II - Member Team Fusion---------------------------------------------------------- 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] |
- Re: [CFCDev] Bean and CFC question Peter J. Farrell
- RE: [CFCDev] Bean and CFC question Jim Davis
- RE: [CFCDev] Bean and CFC question Jim Davis
- Re: [CFCDev] Bean and CFC question Peter J. Farrell
- RE: [CFCDev] Bean and CFC quest... Jim Davis
- RE: [CFCDev] Bean and CFC question Hal Helms
- Re: [CFCDev] Bean and CFC question Sean Corfield
- RE: [CFCDev] Bean and CFC quest... Baz
- Re: [CFCDev] Bean and CFC q... Sean Corfield
- RE: [CFCDev] Bean and CFC question Gurevich, Gerry \(NIH/NIEHS\) [C]
- RE: [CFCDev] Bean and CFC quest... Hal Helms
