Re:Ask HN: What skill has benefitted you the most?
by AnimalMuppet on Wednesday March 17, 2021 @12:33PM
(#26493471)
Knowing how to split the problem space in debugging.
Something is going wrong. Where is it going wrong? Could be anywhere. Well, not anywhere - it has to be either A, B, or C. How can we get more information? OK, we put logging in here and here, and run this test, and we find out that it's in B. Now, how could it go wrong in B?
And so on until you understand what's really causing the problem.
Something is going wrong. Where is it going wrong? Could be anywhere. Well, not anywhere - it has to be either A, B, or C. How can we get more information? OK, we put logging in here and here, and run this test, and we find out that it's in B. Now, how could it go wrong in B?
And so on until you understand what's really causing the problem.