Summary

 < Day Day Up > 



The symptoms of Myopia are:

  • Use of shortcuts rather than the more difficult but more appropriate implementation, leading to greater costs later.

To prevent Myopia:

  • Consider future functionality and probable changes when determining the design for any part of the code.

  • Consider risk management factors in your decisions, trading initial development time for future savings.

  • Keep up to date about new software technologies and methodologies, trading learning time for improved development techniques that save more time in development.

To cure the effects of Myopia:

  • When shortcuts and hacks are taken in the code, either by mistake or to meet a short-term deadline, then the code should be refactored to the more appropriate solution as soon as possible.

  • If refactoring is complex and time consuming, consider the option of starting from the beginning again.

  • Avoid crunch time as much as possible.



 < Day Day Up > 



Preventative Programming Techniques. Avoid and Correct Common Mistakes
Preventative Programming Techniques: Avoid and Correct Common Mistakes (Charles River Media Programming)
ISBN: 1584502576
EAN: 2147483647
Year: 2002
Pages: 121
Authors: Brian Hawkins

flylib.com © 2008-2017.
If you may any questions please contact us: flylib@qtcs.net