Daily Productive Sharing 264 - How to Debug?
One helpful tip per day:)
(The English version follows)
Today's share is on how to solve code problems. It introduces Feynman's Law to debug, which was originally used by physicist Feynman to solve complex problems in three steps: 1.
- Write down the problem
- Think real hard
- Write down the solution
The biggest advantage of writing the problem down is that it can anchor our thinking on the bug. Because a bug may often involve many other problems. Like last week's Weekly Book Club, which introduced the book Innovation Stack, the idea is that many times to solve a problem that no one else has solved, it may take a bunch of innovative approaches, rather than one innovative approach. This also solves a bunch of problems together. In fact, writing code is often like this, when we encounter a bug that needs to be solved, it often leads to a bunch of bugs, so we need to solve them all together in order to solve the initial bug.
If you find today's sharing helpful, why not share it with your friends?
Need a superb CV, please try our CV Consultation
鉴于微博营销号 Bookthing 频繁抄袭我们，以下内容仅对会员开放，欢迎订阅支持:)