Chapter 4: Coding Defensively

 < Day Day Up > 

A defender must always seek to change over to the attack as soon as he has gained the benefit of the defense.

—Carl von Clausewitz


This is a book about going beyond coding, but there are still parts of coding that I want to talk about. In particular, when you start writing code that you intend to develop and maintain for the long run, you need to pay attention to defensive coding. When you get into a defensive coding mindset, you recognize that despite your best efforts, your code is going to have some problems and will need to be modified. The goal of defensive coding is to write code that makes it easy to find problems and make any necessary modifications.

 < Day Day Up > 

Coder to Developer. Tools and Strategies for Delivering Your Software
Coder to Developer: Tools and Strategies for Delivering Your Software
ISBN: 078214327X
EAN: 2147483647
Year: 2003
Pages: 118

Similar book on Amazon © 2008-2017.
If you may any questions please contact us: