coding-guidelines icon indicating copy to clipboard operation
coding-guidelines copied to clipboard

Bash constants readonly

Open Jontified opened this issue 2 years ago • 0 comments

In bash guidelines add that constants should be readonly always and that non-constants that are not modified after declaration should be readonly on a best-effort basis. Remove the part of the guideline that says that COMPILER_FLAGS is an example of a constant that can be modified after declaration. After discussion this was concluded not to be the case and that this variable should not be screaming snake case. Update example to reflect this.


This change is Reviewable

Jontified avatar Jun 28 '22 14:06 Jontified