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.
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.
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?
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
- 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