[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.
--
Roger
http://rogerx.sdf.org/
- Re: Preventing Bash Variable Confusion, (continued)
- Re: Preventing Bash Variable Confusion, Robert Elz, 2020/01/29
- Re: Preventing Bash Variable Confusion, Greg Wooledge, 2020/01/29
- Re: Preventing Bash Variable Confusion, Roger, 2020/01/29
- Re: Preventing Bash Variable Confusion, Chet Ramey, 2020/01/29
- Re: Preventing Bash Variable Confusion, Roger, 2020/01/29
- Re: Preventing Bash Variable Confusion, Chris F.A. Johnson, 2020/01/30
- Re: Preventing Bash Variable Confusion, Robert Elz, 2020/01/30
Re: Preventing Bash Variable Confusion, konsolebox, 2020/01/29
Re: Preventing Bash Variable Confusion, Greg Wooledge, 2020/01/30