Heh, thanks! Yeah, for my snippet I type gs-ctrl-j, the stem of the methods (i.e. the name without the get/set part), the output attribute (which defaults to false) and the type (string, query, etc). I hit enter and I have a get/set pair all done. w00t!
I used to use instance data because I hated typing getters and setters, but that snipped sort of made it a moot point and I started going for more consistent code. Kinda goes to show how priorities change with the tools available to do the job, eh? J On Feb 25, 2010, at 7:42 AM 2/25/10, John Whish wrote: > Hehe - great reply! > > I really don't like seeing code like: > > totalcost = instance.basecost + getBookingFee(); > > where I have an existing public getBookingFee() method but no getBaseCost > method, so I end up creating getters and setters via a snippet. Good to know > you have the same dilemmas as me :) -- You received this message because you are subscribed to the Google Groups "CFCDev" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/cfcdev?hl=en.
