<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title>Forem: Filipa Simão</title>
    <description>The latest articles on Forem by Filipa Simão (@filipasimao).</description>
    <link>https://forem.com/filipasimao</link>
    <image>
      <url>https://media2.dev.to/dynamic/image/width=90,height=90,fit=cover,gravity=auto,format=auto/https:%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Fuser%2Fprofile_image%2F272438%2F93e28ade-eb67-4425-b241-0bc79dd9bef6.jpeg</url>
      <title>Forem: Filipa Simão</title>
      <link>https://forem.com/filipasimao</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://forem.com/feed/filipasimao"/>
    <language>en</language>
    <item>
      <title>How Developing Habits Helped Me as a Developer</title>
      <dc:creator>Filipa Simão</dc:creator>
      <pubDate>Sat, 16 Sep 2023 13:25:40 +0000</pubDate>
      <link>https://forem.com/filipasimao/how-developing-habits-helped-me-as-a-developer-1m4a</link>
      <guid>https://forem.com/filipasimao/how-developing-habits-helped-me-as-a-developer-1m4a</guid>
      <description>&lt;p&gt;&lt;strong&gt;&lt;em&gt;Habits&lt;/em&gt;&lt;/strong&gt;… &lt;/p&gt;

&lt;p&gt;I’m sure that you already heard about &lt;strong&gt;&lt;em&gt;habits&lt;/em&gt;&lt;/strong&gt; but, do you really know the importance and how they can be helpful in your life? Have you ever sat down and thought about your own &lt;strong&gt;&lt;em&gt;habits&lt;/em&gt;&lt;/strong&gt;?&lt;/p&gt;

&lt;p&gt;Well, I did not. I never thought about that until I read the book “&lt;a href="https://charlesduhigg.com/the-power-of-habit/"&gt;The Power of Habits&lt;/a&gt;” by Charles Duhigg. If you haven’t read it yet, please do it, it’s a great book.&lt;/p&gt;

&lt;p&gt;Whilst reading it I understood that I’m a person that likes having a routine set: I try to have some routine in my life. This allows me to avoid uncertainty. But I also notice, that I have some &lt;strong&gt;&lt;em&gt;habits&lt;/em&gt;&lt;/strong&gt; in my life but I never really thought about that and how having it can be advantageous in life.&lt;/p&gt;

&lt;p&gt;Firstly, let's define what &lt;strong&gt;&lt;em&gt;habits&lt;/em&gt;&lt;/strong&gt; are and how they work:&lt;/p&gt;




&lt;blockquote&gt;
&lt;p&gt;&lt;em&gt;All our life, so far as it has definite form, is but a mass of habits&lt;/em&gt;&lt;br&gt;
William James&lt;/p&gt;
&lt;/blockquote&gt;

&lt;p&gt;A &lt;strong&gt;&lt;em&gt;habit&lt;/em&gt;&lt;/strong&gt; is a simple action loop that consists of a &lt;strong&gt;cue&lt;/strong&gt;, a &lt;strong&gt;routine&lt;/strong&gt;, and a &lt;strong&gt;reward:&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;&lt;a href="https://res.cloudinary.com/practicaldev/image/fetch/s--vU1cbYd4--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_800/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/9xohm1giv1yu24scw9zr.png" class="article-body-image-wrapper"&gt;&lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--vU1cbYd4--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_800/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/9xohm1giv1yu24scw9zr.png" alt="Habit routine" width="720" height="540"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;💡 &lt;strong&gt;Cue:&lt;/strong&gt; Trigger that tells the brain to go into “automatic mode”&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Routine:&lt;/strong&gt; Activity, mentally or emotionally&lt;br&gt;
&lt;strong&gt;Reward:&lt;/strong&gt;  Helps the brain to understand if this circle should be remembered&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;&lt;em&gt;Habits&lt;/em&gt;&lt;/strong&gt; help our brain to be more &lt;strong&gt;efficient&lt;/strong&gt; because it goes into “automatic mode”. The main advantage of this is to allow our brain to focus on important things. A study made at Duke University shows that most of the decisions we make daily are not the result of our decisions but our &lt;strong&gt;&lt;em&gt;habits&lt;/em&gt;&lt;/strong&gt;.&lt;/p&gt;

&lt;p&gt;It’s always possible to create new &lt;strong&gt;&lt;em&gt;habits&lt;/em&gt;&lt;/strong&gt;. Unfortunately, our brains can’t distinguish good from bad &lt;strong&gt;&lt;em&gt;habits&lt;/em&gt;&lt;/strong&gt;. We cannot get rid of a bad &lt;strong&gt;&lt;em&gt;habit&lt;/em&gt;&lt;/strong&gt; but, we can replace this bad &lt;strong&gt;&lt;em&gt;habit&lt;/em&gt;&lt;/strong&gt; with a good one if we understand how it works.&lt;/p&gt;

&lt;p&gt;Now, we can move on to our main topic here: &lt;/p&gt;

&lt;p&gt;&lt;strong&gt;How have habits improved my daily life as a developer?&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;With the knowledge gained from the book, I tried to analyze my &lt;strong&gt;habits&lt;/strong&gt;. I noticed that I already had some and I could create new ones: &lt;/p&gt;

&lt;p&gt;&lt;strong&gt;&lt;em&gt;Habit:&lt;/em&gt; Code review when I start working every day&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;Sometimes I was too exhausted to do a code review at the end of the day or a teammate requested me to do it while I was focused on another task. &lt;br&gt;
To improve this, I decided that my first task of the day would be doing a code review.&lt;/p&gt;

&lt;p&gt;With time, this became a habit. This brought me some advantages:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;The quality of the review improves a lot because the brain it’s more fresher at the start of the day&lt;/li&gt;
&lt;li&gt;can help the other teammates and dispatch some work&lt;/li&gt;
&lt;li&gt;I am able to focus better on my tasks and the probability of being interrupted is lower&lt;/li&gt;
&lt;/ul&gt;




&lt;p&gt;&lt;strong&gt;&lt;em&gt;Habit&lt;/em&gt;: Testing in a respective environment before sending to QA&lt;/strong&gt; &lt;/p&gt;

&lt;p&gt;I also knew that I could improve other behaviors to help other members and me to have a better day: sometimes QA has some “basic” problems with tickets that were being sent to test that could be avoided. For example, the feature is not in the environment yet. It’s really painful for them.&lt;/p&gt;

&lt;p&gt;So I started to do a quick test in every respective environment before sending it to QA. And guys, believe me, helps a lot! Starting doing this I noticed that:   &lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;This improves QA and other teammates’ life&lt;/li&gt;
&lt;li&gt;It makes you rethink your approach&lt;/li&gt;
&lt;li&gt;If I find something, it’s quicker to fix&lt;/li&gt;
&lt;/ul&gt;




&lt;p&gt;&lt;strong&gt;&lt;em&gt;Habit&lt;/em&gt;: Review code before commit&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;Do you ever commit a &lt;code&gt;console.log&lt;/code&gt; or a &lt;code&gt;dump&lt;/code&gt;? OPS, I did and it’s normal. &lt;br&gt;
&lt;em&gt;(Yes, I know we have linters for that but it’s an example of unwanted code).&lt;/em&gt;&lt;/p&gt;

&lt;p&gt;It annoyed me to have threads to remove it. To try to fix this, I started to review all the code I made before commit it. Doing that helps me to: &lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Some unwanted codes are caught early&lt;/li&gt;
&lt;li&gt;Rethink all logic that was made, especially if I do the review the next day or after a break&lt;/li&gt;
&lt;/ul&gt;




&lt;ul&gt;
&lt;li&gt;&lt;strong&gt;&lt;em&gt;Habit&lt;/em&gt;: Workout&lt;/strong&gt;&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Being a developer can be stressful and it’s a very sedentary job. I don’t have enough fingers in my hands to count how many times I did not have the energy at the end of the day to go to the gym.&lt;/p&gt;

&lt;p&gt;I started to go to the gym before work. Doing exercise helps me to relax and it’s good for my health, and for my mood! &lt;/p&gt;




&lt;p&gt;I have other &lt;strong&gt;&lt;em&gt;habits&lt;/em&gt;&lt;/strong&gt; but these were the chosen ones!  &lt;/p&gt;

&lt;p&gt;Having &lt;strong&gt;&lt;em&gt;habits&lt;/em&gt;&lt;/strong&gt; has improved my daily routine and has allowed me to be more efficient. Creating a new &lt;strong&gt;&lt;em&gt;habit&lt;/em&gt;&lt;/strong&gt; can be challenging, but it's worth it. So, take some time to reflect on your own &lt;strong&gt;&lt;em&gt;habits&lt;/em&gt;&lt;/strong&gt; and see if there are any areas where you can improve. You might be surprised at how much this can be helpful in your life.&lt;/p&gt;

</description>
      <category>habits</category>
      <category>developer</category>
      <category>webdev</category>
      <category>frontend</category>
    </item>
  </channel>
</rss>
