Archive
Software Resiliency
-
RETURN should be used to terminate a database query or a stored procedure
Why you should care The RETURN statement is useful as it terminates a query, stored procedure or batch. When used in a stored procedure,…
-
Avoid using risky patterns too frequently
Why you should care Some specific code syntaxes, even if they compile and don’t make a software crash directly, are not recommended mainly for…
-
Native Dynamic SQL is easier to use than DBMS SQL.
Native Dynamic SQL is easier to use than DBMS SQL. This code insight shows that PL/SQL provides two ways to write dynamic SQL: However,…
-
A Return Statement in the middle of a command makes it unreadable
Why you should care The RETURN statement is useful as it terminates a query, stored procedure or batch. When used in a stored procedure,…
-
Empty Catches may cause security risks
Why you should care Most developers contend that it’s not ideal to have an empty catch block. Empty Catch is the cause of an…
-
Not all Tag libraries should be imported
Why you should care A tag library defines a collection of custom actions. The tags can be used directly by developers in manually coding…
-
Less efficient datatypes cause interchangeability issues
Why you should care Every constant, variable, and parameter has a datatype (or type) which specifies a storage format, constraints, and valid range of…
-
Comparison operators compare values
Why you should care This is important since Javascript has comparison operators such as “regular equality” (==) and “is not equal to” (!=) which…
-
eval() evaluates statements
Why you should care Eval() is a function property of the global object. The argument of the of the eval() function is a string.…
-
Avoid dangerous types
About CAST and Highlight’s Code Insights Over the last 25 years, CAST has leveraged unique knowledge on software quality measurement by analyzing thousands of…