Chinaunix首页 | 论坛 | 博客
  • 博客访问: 1282463
  • 博文数量: 3010
  • 博客积分: 10011
  • 博客等级: 上将
  • 技术积分: 30431
  • 用 户 组: 普通用户
  • 注册时间: 2008-05-27 11:53
文章分类

全部博文(3010)

文章存档

2008年(3010)

我的朋友

分类: LINUX

2008-05-27 20:34:30

This guide presents a clear and intelligent approach to detecting, preventing, and correcting the most common mistakes in programming and includes ways to reduce problems and provides methods for correcting those that already exist.

Preventative Programming Techniques provides programmers with a clear and intelligent approach to detecting, preventing, and correcting the most common mistakes. It includes practical ways to reduce problems that occur every day, and provides methods for correcting problems that already exist. Using a medical metaphor, each of the common problems is presented as an illness. Each illness is then presented in a structured approach that includes a basic description, common symptoms, prevention methods, cures, and related illnesses to look for. The majority of the principles and practices espoused are language independent and focus on instructing programmers how to detect and avoid problems. It also includes guidelines on determining when and how to refactor or rewrite code.

Some of the major and minor illnesses found throughout programming, include premature optimization, CAP (cut and paste) epidemic, NIH (not invented here) syndrome, complexification, oversimplification, docuphobia, and more. If you’re a programmer, you’ve made these mistakes or you’ve had to deal with code that has them in it. To learn how to prevent and fix these problems, check out all of the illnesses—you’re sure to find insightful tips for your own projects. Novice programmers will benefit greatly from reading though each category of illness from start to finish, and experienced programmers will benefit from the insightful tips and anecdotes.

阅读(117) | 评论(0) | 转发(0) |
给主人留下些什么吧!~~