Find the Bug A Book of Incorrect Programs
2008-08-06 23:09
351 查看
50 exercises to help you find bugs faster -- with less aggravation!
Bug hunting is an art, and you need to be a master. Get Find the Bug, and you'll become one. Long-time Microsoft programmer Adam Barr presents 50 programs, each with exactly one bug. Your assignment: find it. As you do, Barr will teach you how to "think like your processor"... anticipating exactly how code will behave, even without running it. You'll learn better ways to read code, understand it -- and above all, improve it. Whether you're building new systems or maintaining someone else's, you'll find bugs earlier, faster, with less frustration... and write cleaner code to begin with.
*Presents "bugged" programs in C, Java, Python, Perl, and x86 assembly language, with carefully explained solutions
*Includes language overviews to help you debug all 50 examples, even if you don't know the language
*Shows how to look past the "surface" of code to uncover its hidden internal logic
*Offers practical guidance on analyzing programs, including specific inputs to test
*Presents a wide range of realistic bugs, with no phony "gotchas"
*Draws on the types of coding and debugging challenges Microsoft uses to interview new programmers
*An indispensable resource for working programmers, maintainers, testers, quality specialists, and everyone involved in code reviews
http://rapidshare.com/files/15276137/I0321223918.rar
Bug hunting is an art, and you need to be a master. Get Find the Bug, and you'll become one. Long-time Microsoft programmer Adam Barr presents 50 programs, each with exactly one bug. Your assignment: find it. As you do, Barr will teach you how to "think like your processor"... anticipating exactly how code will behave, even without running it. You'll learn better ways to read code, understand it -- and above all, improve it. Whether you're building new systems or maintaining someone else's, you'll find bugs earlier, faster, with less frustration... and write cleaner code to begin with.
*Presents "bugged" programs in C, Java, Python, Perl, and x86 assembly language, with carefully explained solutions
*Includes language overviews to help you debug all 50 examples, even if you don't know the language
*Shows how to look past the "surface" of code to uncover its hidden internal logic
*Offers practical guidance on analyzing programs, including specific inputs to test
*Presents a wide range of realistic bugs, with no phony "gotchas"
*Draws on the types of coding and debugging challenges Microsoft uses to interview new programmers
*An indispensable resource for working programmers, maintainers, testers, quality specialists, and everyone involved in code reviews
http://rapidshare.com/files/15276137/I0321223918.rar
相关文章推荐
- Where can I find the location of folders for installed programs?
- Structure and Interpretation of Computer Programs (the Purple Book)
- DirectoryNotFoundException: Could not find a part of the path "……"
- 安装J2EE的SDK报错:could not find the required version of the Java(TM)2 Runtime Environment in '(null)'的解决
- Assembling Views and Animations(Chapter 6 of The iPhone™ Developer’s Cookbook)
- Unable to find a version of the runtime to run this application解决方法
- cvc-elt.1: Cannot find the declaration of element---与spring 无关的schema 验证失败
- Java EE 6 SDK uninstall 'Could not find the required version of the Java(TM) 2 Runtime Environment'
- Given n points on a 2D plane, find the maximum number of points that lie on the same straight line.
- Error:Unable to start the daemon process. This problem might be caused by incorrect configuration of
- HDU 1595 find the longest of the shortest
- HDU1595 find the longest of the shortest
- [Regular Expressions] Find the Start and End of Whole Words
- 找出矩阵中含有0最多的一行(find the longest row of zero)
- Find the substring of length 3 which is present in the reverse order from the string
- web.xml配置bug之提示The content of element type "web-app" must match "(icon?,display- name?,description?,
- 安装J2EE的SDK报错:could not find the required version of the Java(TM)2 Runtime Environment in '(null)'的解决
- [Google]Find numbers of nodes in a BST in the range [low,high]
- Find the first repeating element in an array of integers
- web.xml配置bug之提示The content of element type "web-app" must match "(icon?,display- name?,description?,distributable?,