Return to Video

Most Obvious Fix - Software Debugging

  • 0:00 - 0:07
    This technique of using the most obvious fix, so beautiful--I'd really like to show this to you.
  • 0:07 - 0:12
    So here we have a complete program again. I managed to restore each from previous backup.
  • 0:12 - 0:18
    And again, if we run this, you'll see that the HTML markup is not removed.
  • 0:18 - 0:23
    So the technique of using the most obvious fix is very simple.
  • 0:23 - 0:29
    We simply check for the input that's wrong and return the correct output.
  • 0:29 - 0:36
    Lo and behold, this technique beautifully works and returns the correct output.
  • 0:36 - 0:38
    Rumor has it that some programmers use this very technique to make their unit test work.
Title:
Most Obvious Fix - Software Debugging
Video Language:
English
Team:
Udacity
Project:
CS259 - Software Debugging
Duration:
0:43
Udacity Robot edited English subtitles for Most Obvious Fix - Software Debugging
Fran Ontanaya edited English subtitles for Most Obvious Fix - Software Debugging
Amara Bot added a translation

English subtitles

Revisions Compare revisions