Renaming UNUSE() to SKIP()

Rob Landley rob at landley.net
Fri Feb 17 00:56:14 UTC 2006


On Thursday 16 February 2006 7:15 pm, Paul Fox wrote:
> i really think the meaning of those macros would be a lot more
> transparent if they were called soemthing like:
>     INCLUDE_IF_SYMBOL(blah)  (or maybe "ONLY_IF_SYMBOL(blah)" )
> and
>     OMIT_IF_SYMBOL(blah)
>
> the issue for me is that usually in a macro with args it's the
> arg that triggers a condition.  in this case it's something in
> the _name_ of the macro that makes it conditional.  adding the
> "IF" in there emphasizes that aspect.  somehow the simple
> "USE_SYMBOL()" and "SKIP_SYMBOL()" really obfuscate the flow for
> me.
>
> however, if no one else knows what i'm talking about, i'll learn
> to deal.  :-)

The problem is that's a significantly longer prefix, and we'd like to be able 
to include these suckers inline, in 80 columns...

"ENABLE" is about the upper limit on prefix length (same as CONFIG).

Rob
-- 
Never bet against the cheap plastic solution.



More information about the busybox mailing list