Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > gnu.bash.bug > #15857 > unrolled thread

Re: Preventing Bash Variable Confusion

Started byRoger <rogerx.oss@gmail.com>
First post2020-01-30 14:41 -0500
Last post2020-01-30 14:41 -0500
Articles 1 — 1 participant

Back to article view | Back to gnu.bash.bug

This discussion starts older than the indexed window; earlier articles aren't shown. The article labeled Started by below is the oldest one visible, not the original post.


Contents

  Re: Preventing Bash Variable Confusion Roger <rogerx.oss@gmail.com> - 2020-01-30 14:41 -0500

#15857 — Re: Preventing Bash Variable Confusion

FromRoger <rogerx.oss@gmail.com>
Date2020-01-30 14:41 -0500
SubjectRe: Preventing Bash Variable Confusion
Message-ID<mailman.128.1580413325.2384.bug-bash@gnu.org>
>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/

[toc] | [standalone]


Back to top | Article view | gnu.bash.bug


csiph-web