Archive
Cost
-
Local variables allows variables to be relegated to a function
Why you should care Local Variables occurs when a typeset statement is used inside a function definition and the respective variables involved all become…
-
File Naming Convention (FNC) helps in organization
Why you should care File Naming Convention helps one stay organized by making it easy to identify the file(s) that contain the information from…
-
Symmetrical listing allows for better understanding and bug prevention
Why you should care It is recommended to have the list be symmetrical as it allows for the code to be readable and understandable…
-
Correct indentation allows for better understanding and bug prevention
Why you should care It is recommended to correctly indent the lines as it allows for the code to be readable and understandable by…
-
Short local variables could lead to bugs and misinformation
Why you should care It is recommended to ensure local variables not short as it allows for the code to be readable and understandable…
-
Avoid Backslash to continue command
Why you should care With line-oriented text, the backslash is used at the end of a line to indicate that the trailing newline character…
-
Short code identifiers worsens collaboration
Why you should care Short identifiers were in existence as early variable mnemonics were limited to as few as six to eight characters leading…
-
Exported Variables are global in scope and store values
Why you should care Variables and parameters are used by the Korn shell to store values. The Korn shell supports data types and arrays.…
-
Multiple instructions on the same line decreases code readability.
Why you should care Having multiple instructions on one line of code remarkably decreases readability of the code as well as making it tougher…