mit 计算机科学及编程导论(11)
来源:互联网 发布:黑马c语言视频云盘 编辑:程序博客网 时间:2024/06/05 17:49
words:
fake , ambiguity , readily , physics , theoretical , subtlety , alias , pragmatic , quantum , supreme , validation , nail , unwarranted , weave , facilitate , feasible , relay , moth , trap , epiphany , laboratory , diagnosis , disabuse , crawl , breed , mate , eliminate , be hung up about/on sth , stamp someone out , whack a mole , tray , cockroach , evolve , probe , subtle , skeptical , refute , flawed , intermediate , slip-up , prune , kneel , ascertain , integration
notes:
two topics : testing(testing & reasoning to check whether the testing is enough or not) & debugging(function & performance)
testing:
1. two ways of testing : unit testing & integration testing
2. test suit: small enough to test in reasonable time & large enough to give enough confidences that the problem is ok(how to trade off)
debugging :
1. goal : not to eliminate one bug but to move towards a bug-free program (so we need a debugstrategy)
2. what we should ask when we debug:
how could it have produce this result?
is it part of family?(一类错误)
how to fix it?
scientific method(我不是很了解,暂时不贴,但是这好像是他们高中教的如何做科学研究的方法)
ps:
how to use a debug strategy to write a bug-free program is very crucial , we must think "is it a family" when we ascertain a bug to eliminate a kind of bug(以前都是一个一个的解决,解决后就运行,不行再找下一个,这样看来还是不够系统systematic)
- mit 计算机科学及编程导论(11)
- mit 计算机科学及编程导论(1)
- mit 计算机科学及编程导论(2)
- mit 计算机科学及编程导论(3)
- mit 计算机科学及编程导论(4)
- mit 计算机科学及编程导论(5)
- mit 计算机科学及编程导论(6)
- mit 计算机科学及编程导论(7)
- mit 计算机科学及编程导论(8)
- mit 计算机科学及编程导论(9)
- mit 计算机科学及编程导论(10)
- mit 计算机科学及编程导论(12)
- mit 计算机科学及编程导论(13)
- mit 计算机科学及编程导论(1)
- mit 计算机科学及编程导论(14,15,16)
- mit 计算机科学及编程导论(17,18,19)
- MIT公开课---计算机科学及编程导论
- MIT计算机科学集编程导论(一)
- VS2008 调试停止 浏览器不关闭问题
- 光合系统传能机理模拟研究进展
- 将linq实时转换为SQL语句
- Cocos2d中添加手势支持的三种方法
- Linq to entity (3.5) 左联接问题
- mit 计算机科学及编程导论(11)
- Y450安装Ubuntu显卡驱动后屏幕分割成6块的解决办法
- 计算任意凸多边形内最大矩形
- openCv学习笔记(四)-数学形态学1(二值图像的膨胀、腐蚀、开运算和闭运算)
- android弹出窗口的实现(PopupWindow)
- if-else优化措施
- ibatis出现AutoResultMap错误的问题
- SWUN 1303 - 魔法学徒
- C++ 重载(overload)、重写(overrride)、重定义(redefine)总结