[Top][All Lists]

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

Re: Preventing Bash Variable Confusion

From: Roger
Subject: Re: Preventing Bash Variable Confusion
Date: Thu, 30 Jan 2020 14:41:53 -0500
User-agent: Mutt/1.10.1 (2018-07-13)

>They still allow you to define constants in all-caps.  The impact it
>makes is not so different with defining globals as such.  Try Ruby.

The reason I used to prefer using all uppercase/capital letters, the variable 
definitations would stand out similar to C style definition macros.  Variables 
become extremely identifiable and comprehensible.

Not so much with underscore prefix, however I'll try learning.


reply via email to

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