my project is relatively large. It takes 5 minutes to test and compile every time I modify the code. I stare at the screen and get tired, read the mobile phone news and get distracted. I can"t read the technical tutorial for 5 minutes, and I can"t sleep on my stomach for a while. I compile at least 10 times a day, and every time I go to the toilet and draw water is not good.
anyway, no matter what I do, I look back at the code 5 minutes later, and I can forget what I was going to do before compilation. There is a 30% chance that this kind of thing will happen, especially when it is easy to change the content, it is easier to forget, perhaps because you let your guard down. But this affects my work efficiency!
how do you break it? What do you do when compiling? Is the mind wandering too empty?