Skip to0 minutes and 9 seconds您能告诉我们有关错误的信息吗?好吧,有故事。1947年,哈佛大学的一组技术人员正在运行机电计算机,他们注意到很多错误。因此,他们打开了计算机,发现了一个飞蛾。他们找到了一个实际的错误!因此,他们放下了日志,取了飞蛾,粘贴了下来并写下了以下内容
Skip to0 minutes and 38 secondswords: “first actual case of a bug being found”. And from that day onward we’ve been using the word bug to refer to glitches and flaws in any system. So why are bugs bad? Seriously? Besides making your life as a programmer miserable, they can have really dramatic consequences. In 1996 the launch of an Ariane 5 rocket failed due to a bug in the inertial reference system. 40 seconds after launch the rocket exploded … Just like with real bugs you want to prevent an infestation. So, it’s crucial that you adopt a defensive programming style to reduce the number of bugs in your code. In this MOOC will discuss professional tools and advanced techniques for debugging serial and parallel programs.
Skip to1 minute and 30 seconds因此,您将最大程度地减少用于查找和修复它们的时间和挫败感。
Skip to1 minute and 35 seconds欢迎来到我们的MOOC:“防御性编程和调试”