In this lesson, you will learn about “debugging,” one of the most important fundamentals of programming. Rather than memorizing words alone, aim to explain the system and the reasons behind it in your own words.
Key Point
By keeping the conditions for reproducing an error the same and comparing expected and actual values along the way, you can narrow down the location of the error.
By keeping the conditions for reproducing an error the same and comparing expected and actual values along the way, you can narrow down the location of the error.
Important Points
- Check the reason, not just the conclusion
- Distinguish similar terms and exceptions
- Try applying the same way of thinking to other examples
Practice
- Explain the key point in two sentences.
- Give one common misunderstanding and explain what is different about it.
- Check your understanding by applying it to a familiar or specific example.