Tim Marsland writes:
> Well it certainly satisfies my architectural concern.
> 
> However, I wonder if there's a useful precedent to set here
> w.r.t. the names of properties that are intended to be used
> this way e.g. prefix with a '.' or '__' -- a shorthand
> for the very low committment level.

If you later find that you need to raise the commitment level (perhaps
because it turns out to be a more common problem than originally
anticipated), then you end up having to do extra work to scrub away
the commitment level from the variable name, and potentially issuing
either patches or confusing documentation for it.

Though I can see some value to it (easy to grep for "bad" usages over
all drivers), I think I'd rather have that sort of meta information in
the man page than in the code.

-- 
James Carlson, Solaris Networking              <james.d.carlson at sun.com>
Sun Microsystems / 1 Network Drive         71.232W   Vox +1 781 442 2084
MS UBUR02-212 / Burlington MA 01803-2757   42.496N   Fax +1 781 442 1677

Reply via email to