DEV Community

Discussion on: Depression & Anxiety in programming

Collapse
 
leftturns profile image
Andy Johnson

Both.

First, always, always seek help from a qualified professional provider. And find a good one, someone that works for you. If you don't like their bedside manner, their treatment methods, or anything that concerns you, shop for a new doctor. Follow their advice based on your unique situation.

Spend time outside. I try to walk my doggo every night. But I don't feel bad when I miss our sunset walk. Just regroup and retry tomorrow.

Get quality sleep. Not always possible, but do your best to put your mind at ease before bed.

Don't binge screen time before bed - especially after staring at pixels all day. Read a book, made from trees (recycled trees are best), not on a screen.

Find a creative escape. Take an art class, learn a new non-programming creative skill. I make furniture. Someday, I hope to learn welding. I also do watercolors. Some days I don't do anything remotely creative, and I don't beat myself up over it either.

Bring a plant into the office. Peace Lily is easy to maintain with no sunlight, Sansevieria is good for low light to window light, and if you're lucky to be on a bright window seat, then any Succulent will brighten your desk. Yes, bringing a small piece of nature into your office not only brightens up your space, it also boots your mood and cleans your air.

Spend your time outside of work primarily with people who love you and care about you. Love and care about others too.

Set good expectations (based on your situation) with your boss about your needs. I know I can take a mental health day as a sick day if I need it - it's just PTO. Don't take a day off when it's bad for the business either - you can't blow off deadlines just because you're not feeling good that day. Learn to balance it.

Gain an awareness of your feelings. Realize that you might just be having a bad day. And also realize at the same time, that the bad time you are having will pass.

Best of luck. It isn't easy, but hang in there. You're not alone.