Testability Tips
Try to close/kill all
the data objects once they have been used
Data flow anomalies
and control flow problems can be detected by keeping all the p-uses at the same
program level
Don't worry much
about the wastage of space such as creating object aliases, utilizing
unassigned bits with in bytes etc. Keep the data structures cleaner and
references more consistent
Try to use strongly
types and user-defined types if supported by the source language
If the language does
not support strong typing, enforce it using a pre-processor
Use a pre-processor
to enforce strong typing if not supported by the language
Use explicit
declaration of all data objects even if it is not mandatory for the language
processor
Keep all data
declarations at the beginning of the routine
Post a Comment
Post a Comment