Archive
Software Resiliency
-
Deprecated features makes code less resilient
Why you should care Deprecated features are usable but should not be used because they are expected to be removed entirely in the near-future…
-
Specify precision otherwise error occurs
Why you should care Specify precision which is the total number of digits, and scale, which is the number of digits to the right…
-
The first line activates the KSH interpreter
Why you should care The first line is useful as it tells the OS what interpreter to invoke in order to run the script.…
-
Variable declaration creates an instance in the class
Why you should care It is important to remember that KSH uses variables and parameters to store values. It also supports data types and…
-
Pipes are an inefficient way of dealing with commands
Why you should care Pipes take the output of one command and put it on the input of another command. They can also be…
-
Too many pipe commands cause inefficiency
Why you should care Having too many pipe commands could result in code inefficiency as well as possible entry of bugs and crashes in…
-
CASE is better to understand than DECODE
Why you should care The DECODE function belongs to PLSQL and has the functionality of an IF-THEN statement. Itβs syntax is as follows DECODE(…
-
Javabeans & Tags are useful in JSP as they encapsulate
Why you should care It is recommended to use Javabeans and tags as Java Beans are good general-purpose objects that encapsulate information and states…
-
Empty Catches cause code errors & unreliability
Why you should care When an exception occurs during programming, it is usually caught in a catch block. Empty catch is when an exception…
-
GoTo is primitive & outside one’s control
Why you should care The GOTO statement branches unconditionally to a statement label or block label. The label must be uniqe within its scope…