The 'one weird trick' of better coding - take breaks

Nočnica Mellifera - Jan 4 '21 - - Dev Community

cover image by Alexandra Sora

Better than stack overflow, better than mentorship, better than pairing, better than a four year comp sci degree and parents who coded on the Apollo missions: taking breaks is the secret to writing better code.

Above all, stepping away from your desk when you are stuck gives your mind the chance to work over the other aspects of a problem. Ask for help! Study! Do the other things that help you, but never ever forget to take breaks!

How do you get through roadblocks? Let me know in the comments!

. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .