When a developer is struggling because they can't solve a problem, it's best to go to sleep and come back the next day. It's happened to me that I've spent hours trying to solve a problem and the next day I've solved it in 10 minutes.
This is so true! Just yesterday I was walking to lunch and randomly thought about a small bug I'm dealing with and the solution immediately came into my mind. Tried it when I got home and it worked lol
reply
yes, or go out for a walk.
reply
Sleeping is a superpower, can confirm!
reply