5 Techniques I Use To Manage Stress As A Software Engineer

Lessons learned from 48+ books on self-development

🧵Long Thread 🧵

#100DaysOfCode
1. Morning Journal

This is a technique I’ve been using for 3+ years and it’s a freaking golden.

Every morning I write two things:

1. Brain dump (all thoughts, feelings, and experiences I want to write down)
2. The goal for today (one main goal that I have to achieve today)
If you reflect and write everything you have on your mind (what you are stressing about) you will less procrastinate throughout the day and less thinking about *that one problem* you have.
I do it every morning for 5-10 minutes. And by the end, I feel completely different. My mind is calm.

I recommend starting with the “brain dump” type of journaling, three times per week in the morning to see how it goes. Then you can do it on a daily basis.
2. Walking

When I feel under stress, for example, can’t find a solution to some coding problem, I often go for a walk, 15-20 minutes and the solution often pops up in my head.

I don’t take headphones. Just simple walking.
I've noticed that when I’m doing something else, like watching videos on YouTube during my break, I feel more stressed and anxious a couple of hours after. And also, after walking in nature (forest/lowland water) I feel better than anywhere else.

So try what works for you.
3. Right Breaks

Previously I used to just put on my headphones and code for 8 hours, almost straight.

But I don’t do that anymore.

After such “hard work” sessions I feel tired and more stressed.

Now I operate in another way.
Our brain works best when we go hard, then rest.

And it’s not going hard for hours and then rest for days.

It is about going hard for 50-90 minutes then go for a break for 15-22 minutes.
But it is not “normal” breaks like people used to think, checking Instagram/Facebook, or reading news.

I am talking about “right” breaks.

It includes completely opposite activities.
During right breaks I often do three things:

1. Hydrating
2. Stretching
3. Walking
And what I’ve noticed by doing those three things is that I feel more relaxed, more focused, and I can work for 8+ hours without feeling like crap (brain fog) at the end.

So add breaks to your working routine, this technique is a productivity gem for coders.
4. Flight Mode

I used to think that notifications on my phone and computer didn't matter. Yes, they distract me in some way, but nothing critical.

I was wrong.
Check notifications every time they pop-up on your screen form a bad habit called “fear of missing out.” I started to feel like I need to know what is going on.

Like every time notification appears I instantly click on it and stoping doing what I do.
Nowadays, I turn off all notifications for 4 hours. So no one can distract me.

For that period of time, I often complete my big goal for a day.
At first, it was difficult, I constantly wanted to check what is going on in the world. But then I’ve noticed that I stopped to worry about it.

Now I feel more focused and less anxious.

It is funny how such a simple thing helps me with managing stress.
So turn off notifications and tell people to not distract you with unimportant stuff during your working hours.
5. Clean Desk

Not an obvious one but clear mind is linked to clear environment.
I've noticed that when I have a messy desk, I have a problem finding a solution to coding problems. It takes more time and I feel more stressed about it.
But when I clean my desk, I watch the stress melt away.

The environment no longer distracts me.

My mind is clear.

This technique takes me 1 minute and I feel a huge benefit from it.

So clean your desk every morning or before going to bed.
Those are the 5 proven things I do on a consistent basis in order to keep stress levels low.

In addition, I recommend establishing good habits like a healthy diet, 8 hours of sleep, and 3-4x working out sessions during the week.
Thanks for reading, give it a ❤️and share it if you enjoyed it.

Check the full article here 👇

blog.nickbulljs.com/5-techniques-i…

• • •

Missing some Tweet in this thread? You can try to force a refresh
 

Keep Current with Nick Bull JS

Nick Bull JS Profile picture

Stay in touch and get notified when new unrolls are available from this author!

Read all threads

This Thread may be Removed Anytime!

PDF

Twitter may remove this content at anytime! Save it as PDF for later use!

Try unrolling a thread yourself!

how to unroll video
  1. Follow @ThreadReaderApp to mention us!

  2. From a Twitter thread mention us with a keyword "unroll"
@threadreaderapp unroll

Practice here first or read more on our help page!

More from @nickbulljs

20 Oct
Are you preparing for your interview?

Here is a list of resources I use to prepare for a Web Developer / Frontend position:

🧵 Thread 🧵

#100DaysOfCode
1. Technical Interview

This repository has practical content that covers all phases of a technical interview, from applying for a job to passing the interviews to offer negotiation.

github.com/yangshun/tech-…
2. HTML

40 important HTML interview questions with answers

codeproject.com/Articles/70205…
Read 15 tweets
19 Oct
Complete Guide How To Code Review

Best practices from Google, Apple, Facebook, and Amazon

🧵 Thread 🧵

#100DaysOfCode
Let's start with the question:

What’s the end goal of the code review?

The primary purpose of the code review is to make sure that the solution is solving the problem in the best possible way. From the code and product perspective.
But how do you determine if the solution you are reviewing is the best way to solve the problem? In other words, how to code review?

Let’s deep dive into it.
Read 23 tweets
18 Oct
10 Interview Questions Every JavaScript Developer Should Know

🧵 Thread...
1. Name two programming paradigms important for JavaScript?

JavaScript is a multi-paradigm language, supporting imperative/procedural programming along with OOP (Object-Oriented Programming) and functional programming
2. What is functional programming?

Functional programming produces programs by composing mathematical functions and avoids shared state & mutable data
Read 12 tweets
17 Oct
6 Ways To Improve Web Performance With Preload Content

prefetch vs preload vs preconnect vs dns-prefetch vs prerender vs modulepreload

*advanced javascript techniques*

🧵 Thread... Image
1. preload

<link rel="preload"> tells the browser to download and cache a resource (script or stylesheet) as soon as possible

It’s helpful when you need that resource a few seconds after loading the page
2. prefetch

<link rel="prefetch"> tells browser to download and cache a resource in the background

The download happens with a low priority, so it doesn’t interfere with more important resources

It’s helpful when you need resource on a subsequent page
Read 11 tweets
15 Oct
General skills you should know before starting in web development

∙ GIT
∙ HTTP(S) protocol
∙ How to Google
∙ Terminal (bash, zsh, fish)
∙ Algorithms and Data Structures
∙ Design Patterns
You need these skills to start your web development career.

You don't need these skills to start learning web development.

It's two different things.

Don't confuse them.
This tweet blew up and some developers have another opinion on this.

2 popular one:

”I started my career without knowing these skills”

”you only need to know how to google”

In most cases I agree, but these are just beautiful words.

Here's what's wrong with them 👇
Read 7 tweets
15 Sep
21 Must-Read Books For Programmers

(become a Senior Developer in a year)

🧵 Thread...
1/ Personal Effectiveness

- The 7 Habits of Highly Effective People: Powerful Lessons in Personal Change
- Great at Work: How Top Performers Do Less, Work Better, and Achieve More
- The Checklist Manifesto: How to Get Things Right
2/ Writing Code

- Code Complete
- Clean Code: A Handbook of Agile Software Craftsmanship
- Code Simplicity: The Fundamentals of Software
Read 8 tweets

Did Thread Reader help you today?

Support us! We are indie developers!


This site is made by just two indie developers on a laptop doing marketing, support and development! Read more about the story.

Become a Premium Member ($3/month or $30/year) and get exclusive features!

Become Premium

Too expensive? Make a small donation by buying us coffee ($5) or help with server cost ($10)

Donate via Paypal Become our Patreon

Thank you for your support!

Follow Us on Twitter!