bug-make
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[bug #54630] "obsolete" language too strong


From: Sam Kendall
Subject: [bug #54630] "obsolete" language too strong
Date: Fri, 7 Sep 2018 23:39:46 -0400 (EDT)
User-agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_13_6) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/68.0.3440.106 Safari/537.36

Follow-up Comment #1, bug #54630 (project make):

Another example is the advice not to omit parens in references to
single-character variables: "you could reference the variable x with ‘$x’.
However, this practice is strongly discouraged, except in the case of the
automatic variables..." I've found that in the bodies of user-defined
functions, particularly those already laden with parentheses, '$1' is
significantly more readable than '$(1)'. Suggested tweak: "the usual style is
to include the parentheses except in the case of automatic variables..."
Unless there's some reason other than style preference, in which case that
reason should be spelled out.

    _______________________________________________________

Reply to this item at:

  <https://savannah.gnu.org/bugs/?54630>

_______________________________________________
  Message sent via Savannah
  https://savannah.gnu.org/




reply via email to

[Prev in Thread] Current Thread [Next in Thread]