Technical Report ()
Swan J (2012) Defensive C++: Programming Guidelines for those who dislike Debugging. Computing Science and Mathematics. University of Stirling. CSM Technical Reports, CSM-194. University of Stirling, Department of Computing Science and Mathematics.
C++ has a reputation as a difficult and complex language in which one can achieve anything, but with an attendant risk of (what is politely termed) 'undefined behavior' when practiced by the uninitiated.
We offer guidelines that are intended to eliminate common causes of systemic and hidden error (e.g. ignorance of copy-assignment semantics) and also describe a number of practices that facilitate both design robustness and 'programming in the large'.
|Number of pages||39|
|Title of series||CSM Technical Reports|
|Number in series||CSM-194|
|Publisher||University of Stirling, Department of Computing Science and Mathematics|
|ISSN of series||1460-9673|