2.4 Programming For Reliability
 |
Critical programming errors are specific architectural and/or coding bad practices that result in the highest, |
|
immediate or long term, business disruption risk. |
 |
Critical programming errors can also be classified, for example: |
|
 |
Avoid software patterns that will lead to unexpected behavior (Uninitialized variable, null pointers, etc.) |
|
 |
Methods, procedures and functions doing Insert, Update, Delete, Create Table or Select must include error |
|
|
management. |
|
 |
Multi-thread functions should be made thread safe, for instance servlets or struts action classes must not |
|
|
have instance/non-final static fields. |