DEV Community

Discussion on: On Dealing with Anxiety and Depression as a Developer

Collapse
 
yucer profile image
yucer • Edited

Some stuff to test in those cases:

  • Improve your diet (Eat vegetables, reduce the amount of daily sugar, coffee and stimulant substances). Try to get more knowledge about healthy nutrition.

  • Make exercises.

  • Sleep well and enough (google for: Sleep trick and tips).

  • Check your work ergonomics. Take breaks in the working sessions (I use Workrave other people just drink water enough so your bladder remember you to take the rest and go to the bath)

  • Improve your concentration capability (prepare the workplace, google for "Concentration techniques" to find more....)

  • Organize your work and plan it (You can use GTD tools like GTG, Outlook or Thunderbird tasks, Trello, etc.) Give you rewards for the achievements.

  • Try always to improve your estimation so you don't underestimate the effort and take a commitment for unrealistic deadlines. Some times the one that underestimate the complexity, is the stakeholder that think you just have to put a new button and that is easy.

One tip is thinking about the coding tasks that needed more time in the previous works, analyze why and estimate if those factors will affect you the next time.

  • Socialize with your workmates, or anyone you have the opportunity.

  • Look for a hobby, or a second income activity. If your life depends on a single strategy, you can be affected by the fear of "What if I fail ?"

  • Don't work on Sundays !

I have focused most on some activities that give us more productivity, remembering this quote of HARLAN MILLS:

Mankind, under the grace of God, hungers for spiritual peace, esthetic achievements, family security, justice, and liberty, none directly satisfied by industrial productivity. But productivity allows the sharing of the plentiful rather than fighting over scarcity; it provides time for spiritual, esthetic, and family matters. It allows society to delegate special skills to institutions of religion, justice, and the preservation of liberty.

If after all of this you still have anxiety, then look for a psychiatrist.

If you don't have medical coverage, then go to religion. Most of the religions have thousands of years of experience helping people to reach the spiritual peace.

Collapse
 
iguza profile image
Yoghaswara Nugroho • Edited

I usually take a glass of tumeric milk or lavender tea,it work good for anxiety attack but make you sleepy.