bug-bash
[Top][All Lists]
Advanced

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

Re: slight OT: shell-script programing style -- origins and change?


From: John Reiser
Subject: Re: slight OT: shell-script programing style -- origins and change?
Date: Sun, 25 Oct 2009 13:18:34 -0700
User-agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.1.4pre) Gecko/20091014 Fedora/3.0-2.8.b4.fc11 Thunderbird/3.0b4

... the age old convention of using upper case names
for all their shell variables. ...

It reminds some programmers that a '$' is necessary for expansion.
It is somewhat like using all capitals for #define macros in C
(where the expansion is automatic, but still different from other
symbols that aren't macro names.)  Both of these are surreptitious
salves for not having the full LISP conventions for eval and quote.

--




reply via email to

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