On 4/30/06, Peter Schuller <[EMAIL PROTECTED]> wrote: > > http://random-state.net/log/3349776628.html > > > > I have started to use the convention that he mentions > > (e.g., foo-of as an accessor for slot foo), but I've still > > found situations where even that convention doesn't > > read as nicely as one might want. > > I find that to be a very good idea. I'll start using it right away :) > > Is there anything in particular that you have found to be a recurring problem?
Any such problems are probably just due to my personal fussiness. In some cases, I've had slot names that were already too long (which itself is an arbitrary judgement) and so adding the "-of" suffix made the result worse. That could be fixed by thinking of better slot names. :-) When I define models using Ken Tilton's Cells library, where DEFMODEL is basically an extension of DEFCLASS, I feel like it's better to keep the slot accessor name the same as the observer. The latter is defined via the Cells DEFOBSERVER macro directly in terms of the original slot name. So, nothing that necessarily applies to other folks. Like you mentioned a couple messages back, it's hard to come up with a one-size-fits-all naming scheme :-) -- Jack Unrue _______________________________________________ Gardeners mailing list [email protected] http://www.lispniks.com/mailman/listinfo/gardeners
