Chapter 6: Debugging with Pytest
Noah Gift
The real world mostly works. When you get in a modern car, it seldom breaks down. Most houses in the United States are well built and don’t require daily repair. In school, most tests and quizzes have a passing grade by design. Getting an “F” grade is typically very rare.
Software engineering is quite different. Everything breaks every day. When learning to be a software developer, this is the biggest challenge to overcome. Beginners feel like a one hundred foot wave is crushing them over and over again. One solution to this is adopting a new mindset.
I tell students new to programming to embrace the failure. When you are getting hammered by mistakes and failures, this means you are exactly on the ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access