loading...

What do you do when you're frustrated?

github logo ・1 min read

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.

twitter logo DISCUSS (6)
markdown guide
 

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
 

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
 

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 :)

 

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

 

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 😅

 

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

Classic DEV Post from Nov 1 '19

How I Got Hired at DEV (and Every Other Tech Job)

TMcSquared profile image
I am a self-taught programmer, my first language is RPL. I love to learn cool maths and facts about creation. I am currently the tech leader for an open-source project

👋 Hey dev.to reader.

Do you prefer sans serif over serif?

You can change your font preferences in the "misc" section of your settings. ❤️