DEV Community

TMcSquared
TMcSquared

Posted on

What do you do when you're frustrated?

Usually, I just walk away and take a break from whatever it is that I'm working on, whether it be hobbies, programming, school, etc. Then I come back with a fresh mind to be able to deal with the problem.

EDIT: I forgot to mention that I found out bashing my head against the problem doesn't work real well.

Top comments (6)

Collapse
 
iedaddy profile image
iedaddy

I work office/home, but here's some things that work for me:

  • Netflix
  • Cook a meal
  • Break for Coffee
  • Take a walk around the building
  • Surf Dev.to
  • Read a white paper
  • Go through the next module in an edX course
  • Talk to / enhance my Bot
  • Refactor or add comments to a different coding project
  • Play around with home automation stuff
  • Clean one room in the house or organize my desk
  • Laundry
  • Play around with art, Blender 3d models are fun
  • ask Alexa to tell me a joke
  • go on a grocery shopping run
  • Teach my dog a new trick
Collapse
 
jess profile image
Jess Lee

Depending on how long I anticipate my frustration...

  • get some water
  • 2 min meditation/stretch
  • just close my eyes and breathe
  • walk to a coffee shop and grab a drink
  • go to the gym
  • come back tomorrow
Collapse
 
dpashutskii profile image
Dmitrii Pashutskii

Best things which always help me:

  1. 10 minutes meditation. It's more like the daily thing, but you always could try it when you're frustrated. Best apps - headspace, calm.

  2. Walking around with podcasts in the headphones. Music not so helpful, because you still be thinking about things that bother you. And it's better to take non-programming podcast. hello internet, luke's english podcast for examples.

  3. Sport: In my case, it's jogging/running or gym. But I think it could be anything.

  4. Video games/TV shows: It should be something simple and light, nothing serious. Almost all games are suitable, it's better to play on a console while sitting on a comfortable couch in your living room, not in front of the laptop/PC. In case of TV Shows, sitcoms are best.

  5. Read a book. Of course fiction/comic or some novel, nothing serious here as well :)

Collapse
 
anorman728 profile image
Andrew Norman ❌

If the codebase feels overwhelming, I consider if it's time to refactor to make it easier to understand.

Collapse
 
flaviocopes profile image
flavio ⚡️🔥

Take the dogs, and go for a walk in the woods. I got my best ideas when walking around. I record them on the iPhone voice memos to make sure I don't forget them 😅

Collapse
 
__shadz_ profile image
Chardenal Matthieu • Edited

Take a smoke :D
Music
Take a break, do something else for like 30min-1h