![](https://img-blog.csdnimg.cn/20201014180756757.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
Wring Solid Code
jay1002008
这个作者很懒,什么都没留下…
展开
-
Don't rely on black-box testing!! (From Writing Solid Code)
It's hard to test a program as a black box because all a tester can do is stuff things into the program and watch what pops out. It's like t转载 2011-09-13 20:58:18 · 412 阅读 · 0 评论 -
investors and gamblers
The difference between investors and gamblers is that investors take every opportunity, no matter how small, to tilt the advantage their way转载 2011-09-14 20:56:41 · 451 阅读 · 0 评论 -
编写高质量C语言代码--assert yourself
C语言中assert功能强大,人称“断言”,如语句assert ( expression ),即断言expression始终为true, 若为false,则程序运行失败。 但是,assert ( expression ) 看似function,但它其实是mac原创 2011-10-06 19:53:00 · 1234 阅读 · 1 评论 -
编写高质量C语言代码--API设计
首先我们先来看一个程序: char* strdup(char* str) { char* strNew; strNew = (char*)malloc(strlen(str) + 1); strcpy(strNew, str); return(strNew);原创 2011-10-07 20:32:29 · 1204 阅读 · 0 评论