<?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>DEV Community: Emmanuel Watila</title>
    <description>The latest articles on DEV Community by Emmanuel Watila (@devsgnr_).</description>
    <link>https://dev.to/devsgnr_</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%2F623639%2Fca1692f3-fac1-4706-b76c-e6c3ac876a21.jpeg</url>
      <title>DEV Community: Emmanuel Watila</title>
      <link>https://dev.to/devsgnr_</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/devsgnr_"/>
    <language>en</language>
    <item>
      <title>House Keeping</title>
      <dc:creator>Emmanuel Watila</dc:creator>
      <pubDate>Sat, 16 Apr 2022 15:35:19 +0000</pubDate>
      <link>https://dev.to/devsgnr_/house-keeping-3m72</link>
      <guid>https://dev.to/devsgnr_/house-keeping-3m72</guid>
      <description>&lt;p&gt;After working as a React developer for over 2+ years now, there are some things I have learned and some that I have rapidly unlearned. I have worked on numerous projects ranging from fintech, edutech and all the way down to health and lifestyle.&lt;/p&gt;

&lt;p&gt;In my day to day, React and Next.js are my daily drivers but Next.js more than React.&lt;/p&gt;

&lt;p&gt;And during these times there was one thing that had always bothered me, some devs don't do enough "house keeping".&lt;/p&gt;




&lt;h2&gt;
  
  
  House Keeping?
&lt;/h2&gt;

&lt;p&gt;Yes, house keeping.&lt;/p&gt;

&lt;p&gt;In a bid to move fast and deliver projects to client we sometimes leave webs of mess behind. Does the code work? Yes, Is it at it optimum? Maybe not. At the end of the day, the application is delivered to the client and that's the end.&lt;/p&gt;

&lt;p&gt;Recently, I started building a project/product of my own, written in Next.js with some extra stuff and a BaaS (back-end-as-a-service).&lt;/p&gt;

&lt;p&gt;After reaching a particular milestone, I added a ticket and raised a Github issue named &lt;em&gt;"Implement proper code documentation in form of comments and code optimization"&lt;/em&gt;.&lt;/p&gt;

&lt;p&gt;What this does is that it serves as a reminded that coding or programming is an art as well as it is science, things need to have a definite structure. &lt;/p&gt;

&lt;p&gt;It also saves me from having to start cleaning code when the codebase starts to become a little bit thicker.&lt;/p&gt;




&lt;p&gt;&lt;a href="https://media.dev.to/cdn-cgi/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Ffex0kk715og2f1esnxd6.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media.dev.to/cdn-cgi/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Ffex0kk715og2f1esnxd6.png" alt="Github issue for code cleanup and optimization" width="800" height="94"&gt;&lt;/a&gt;&lt;/p&gt;




&lt;h3&gt;
  
  
  Benefits of House Keeping
&lt;/h3&gt;

&lt;ul&gt;
&lt;li&gt;&lt;p&gt;&lt;strong&gt;Code is clean&lt;/strong&gt;&lt;br&gt;
At the barest minimum this is what you want to achieve, clean code. Readable, maintainable and extensible.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;&lt;strong&gt;You'll be happy writing clean code&lt;/strong&gt;&lt;br&gt;
This is the first time in a long time, that I have actually enjoyed writing code, and also the first time in a long time that I want to continue working on a project.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;&lt;strong&gt;Confidence, Typescript is the GOAT&lt;/strong&gt;&lt;br&gt;
Working with Typesscript has given me confidence when it comes to writing code, I feel safe knowing things will function the right way. Not just Typescript but any language that has static type checking will help you have confidence in your codebase.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;&lt;strong&gt;Easier documentation&lt;/strong&gt;&lt;br&gt;
Documentation becomes way more easier when your code is clean and when each component is where it's supposed to be.&lt;/p&gt;&lt;/li&gt;
&lt;/ul&gt;




&lt;h3&gt;
  
  
  Conclusion
&lt;/h3&gt;

&lt;p&gt;I have had the best time writing code on this project, for once I have some much confidence in the work I'm doing. There's a new stride in my step and a new found love for coding that I have never experience before.&lt;/p&gt;

</description>
      <category>typescript</category>
      <category>react</category>
      <category>webdev</category>
      <category>productivity</category>
    </item>
  </channel>
</rss>
