English subtitles

← Most Obvious Fix - Software Debugging

Get Embed Code
4 Languages

Showing Revision 3 created 05/25/2016 by Udacity Robot.

  1. This technique of using the most obvious fix, so beautiful--I'd really like to show this to you.
  2. So here we have a complete program again. I managed to restore each from previous backup.
  3. And again, if we run this, you'll see that the HTML markup is not removed.
  4. So the technique of using the most obvious fix is very simple.
  5. We simply check for the input that's wrong and return the correct output.
  6. Lo and behold, this technique beautifully works and returns the correct output.
  7. Rumor has it that some programmers use this very technique to make their unit test work.