DEV Community

loading...
Cover image for The 'one weird trick' of better coding - take breaks
Heroku

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

nocnica profile image Nočnica Fee ・1 min read

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!

Discussion (3)

pic
Editor guide
Collapse
casiimir profile image
casiimir

I take three, maybe four breaks to figure out how to resolve it... and nothing to do.
Well, after a long walk around the city with a friend, I found the solution speaking about. Nice video, I loved it.
Keep it up! 🚀

Collapse
nocnica profile image
Nočnica Fee Author

thank you! <3

Collapse
mwlang profile image