BASH
·
Readability
Bash
used “if”, “fi” statements for separating and to increase the readability of
the language. These statements were helpful when using nested if statements.
Also, bash ignores whitespaces at the start of a line, therefore indentations
are not crucial, but it can be used to improve the readability. Furthermore,
readability of bash scripting language was improved with the implementation of
“;”, since it can be used to identify commands separately and a newline being
created after then, else statements also help to identify commands separately.
·
Writability
The
factors affecting readability also affects writability as a result, Bash’s
writability was in an improved standard. Bash data types are untyped which
means we only need to type the variable name and the value. Also, the
writability of bash was improved by letting use of functions in bash which also
supports abstraction.
·
Reliability
Bash
scripting language has increased its reliability by implementing its type
checking during run time. Also, bash doesn’t handle or throw exception since
bash scripting language is not designed to handle exceptions which affects the
reliability of this scripting language. Furthermore, bash scripting language
has shellcheck to check for errors during the development process which
increases the reliability of the language.
Comments
Post a Comment