ghdhair100
Cholerny Spammer
Joined: 15 Dec 2010
Posts: 1829
Read: 0 topics
Location: England
|
Posted: Wed 11:07, 09 Mar 2011 Post subject: 程序的80 20准 |
|
|
程序的80/20准则,[link widoczny dla zalogowanych],20%的代码处理正常情况,80%的代码处理异常情况。如果实现一个功能有40行代码,处理各种情况,理论没有bug的代码是200行,一般的程序员就写40-60行,测试人员一测发现bug,再加上20行到40行,好的测试人员测试,代码可以写到100多行,这就不错了,[link widoczny dla zalogowanych],但是里面的交流和开发的成本是较高的,[link widoczny dla zalogowanych],如果是一个资深程序员,可能一次就写到180行,测试人员难以发现bug。如果测试人员认为一个熟练程序员和一个新手写的程序都没有bug,以后的情况可能会不相同,注意一个程序在测试的时候bug最多,作为产品发布后还是它的bug最多。
Many years ago there lived an Emperor who was so exceedingly fond of fine new clothes that he spent vast sums of money on dress. To him clothes meant more than anything else in the world. He took no interes
related links:
[link widoczny dla zalogowanych]
The post has been approved 0 times
|
|