1) There are unused variables
2) The Bash code is not optimized
Add the example Chaos code that suffers from performance drawbacks
The most obvious update that needs addressing is the use of ! -z instead of the builtin -n flag. These are the same, and we should always go with the simpler option.
Describe the performance issue
requirements.sh
has some visible linting issues:1) There are unused variables 2) The Bash code is not optimized
Add the example Chaos code that suffers from performance drawbacks
The most obvious update that needs addressing is the use of
! -z
instead of the builtin-n
flag. These are the same, and we should always go with the simpler option.