<?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: thirthfamous</title>
    <description>The latest articles on DEV Community by thirthfamous (@thirthfamous).</description>
    <link>https://dev.to/thirthfamous</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%2F859388%2Fb5434228-ebc0-4cf0-900b-6745aaac3488.jpg</url>
      <title>DEV Community: thirthfamous</title>
      <link>https://dev.to/thirthfamous</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/thirthfamous"/>
    <language>en</language>
    <item>
      <title>What Started You To Be A Developer ?</title>
      <dc:creator>thirthfamous</dc:creator>
      <pubDate>Sun, 08 May 2022 14:22:56 +0000</pubDate>
      <link>https://dev.to/thirthfamous/what-started-you-to-be-a-developer--i06</link>
      <guid>https://dev.to/thirthfamous/what-started-you-to-be-a-developer--i06</guid>
      <description>&lt;p&gt;I was trying to look for myself about why I got into this field. What's so motivated me at first ? Is it because this field is popular ? No. Is is because I want to work at the office ? No because as a developer we can work anywhere we want. Is it because Engineering Career is so great ? Not really&lt;/p&gt;

&lt;p&gt;Well the simple answer is I started as developer because &lt;strong&gt;I love gaming.&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;You may ask, "wait, but it's not related at all...."&lt;br&gt;
Let me explain how it is...&lt;/p&gt;

&lt;p&gt;My first game is a PlayStation-like appearance console with a cartridge one, because inside it a NES system. You may not encounter it, but luckily I found the picture at the internet, check out the image below&lt;/p&gt;

&lt;p&gt;&lt;a href="https://res.cloudinary.com/practicaldev/image/fetch/s--8vAqfxtB--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/yr0tgnttrtcsg9w4k5gf.png" class="article-body-image-wrapper"&gt;&lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--8vAqfxtB--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/yr0tgnttrtcsg9w4k5gf.png" alt="PlayStation-like appearance console with a cartridge one" width="800" height="600"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;It was my first console, I am around 5 years old at that time, as a kindergarten kid I love to spend the time to play game such as Super Mario Bros, Metal Gear, Contra, Knight Rider, etc. &lt;/p&gt;

&lt;p&gt;And I think at that time, unconsciously I develop a skill named &lt;strong&gt;problem solving&lt;/strong&gt; because when I game, will be thinking like "damn how do I defeat this boss ?" or like "If I'm doing this, I will got death, if I'm doing this, maybe the enemy will blown away and I got my reward, but I will out of bullet". You got the idea right ? It is problem solving, and problem solving is essential in making an algorithm&lt;/p&gt;

&lt;p&gt;Time passes, I experienced the platform like PS1, PS2, PS3 and PC (until now)&lt;/p&gt;

&lt;p&gt;Back at the time when I'm about to enter the college, and have a dream that I want to make a game, I want to be a game developer, so I entered the computer science field. It's fun, I make my first game, so happy about it, but I realize that at that time, my country is not a good market for game development at that time, comparing with the country such as U.S or Canada.&lt;/p&gt;

&lt;p&gt;Shortly, I swerve my way to Software Engineering because Game Development would not successfully make a living here.&lt;/p&gt;

&lt;p&gt;But the point is, thanks to gaming, my dream to become a game developer (even though it failed) I started to learn Computer Science. And now here I am, a Software Engineer.&lt;/p&gt;

&lt;p&gt;Fun fact, Elon Musk started as developer because of gaming too, you can check it &lt;a href="https://www.youtube.com/shorts/1O7zixzFpa0"&gt;here&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;I hope you learned something new from this post, especially for one of you that have a kid and you want to introduce the computer science for them ? I think you can buy them a game console or PC one.&lt;/p&gt;

</description>
      <category>devjournal</category>
      <category>programming</category>
      <category>discuss</category>
    </item>
    <item>
      <title>Unit Testing is Worth It</title>
      <dc:creator>thirthfamous</dc:creator>
      <pubDate>Sun, 08 May 2022 13:10:15 +0000</pubDate>
      <link>https://dev.to/thirthfamous/unit-testing-is-worth-it-1pk1</link>
      <guid>https://dev.to/thirthfamous/unit-testing-is-worth-it-1pk1</guid>
      <description>&lt;p&gt;Photo by Scott Graham on Unsplash&lt;/p&gt;

&lt;p&gt;I still remember when the first time I searched at Google "is unit test worth" and luckily it's a common questions, so to find out the answer is easy. Reviewing from the experienced developer around the world, concluded that unit test is worth, from there I started to learn unit test. And guess what, when the learning journey start, I found myself that unintentionally, I learn about new bunch of stuff such as Clean Architecture, SOLID principle and Clean Code, it's like hitting 4 birds with a stone. Awesome!&lt;br&gt;
Fun fact that, I was also found that some people believe that unit test is not worth.&lt;/p&gt;

&lt;p&gt;Well, let me share my experience why unit test is worth&lt;/p&gt;

&lt;h3&gt;
  
  
  Makes your code better
&lt;/h3&gt;

&lt;p&gt;Writing Unit Test make sure you &lt;strong&gt;write the code in smallest piece as possible&lt;/strong&gt;, when you do, normally the code is loosely coupled. Simply loosely coupled is a code that has single-responsibility, not dependent to other component and separation of concerns.&lt;/p&gt;

&lt;h3&gt;
  
  
  Increase the bug-less confidence
&lt;/h3&gt;

&lt;p&gt;If you don't write unite test, do you ever feel like when you push your code to the repo, senior checks, merge to the master, deployed to production, you feel paranoid like "will my code run ? is my test coverage good ? what if there's a bug ?"&lt;br&gt;
You know what ? I ever feel that. But since I write the unit test, I can say that I have confidence that my code will not buggy, maybe slightly paranoid, because there are no perfect software, there will be a bug. Ok enough for that, let's discuss another case from my experience.&lt;br&gt;
We are living in agile world, which means everything will be changed, the software will grow bigger, the code will be updated. Let's say you develop a feature that written in FeatureA() function. The feature works expectedly, no bug or such thing, everything is perfect as expected.&lt;/p&gt;

&lt;p&gt;And one day... your manager requests a new feature and a requirement change, that makes you create a new FeatureB() function and change that FeatureA() function. You push your code, deployed to production, the customer uses the feature you developed, no bug, everything is work perfectly...&lt;/p&gt;

&lt;p&gt;And one day... your manager requests another new feature and requirement change, he requested new 5 features that makes you create new 5 functions, FeatureC() - FeatureG() and let's say the function depends on FeatureA(), and manager requests to change the FeatureA(). You add the features, update the code, you test it manually, you found bug, you fixed it, you push the code to the repo, it's deployed, the customer uses your feature, &lt;strong&gt;and.....they found a bug in your app&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;So simply recap from that story/my experience, that in this era of agile, when the requirement change so fast, you can't be confident by your manual end to end test by yourself, you need to do it automatically, recheck all the feature, especially the dependent one, before you push to the repo, and deployed to production, make sure your code is bug-less with the help of unit test, checks all the feature, and be the most confident person in the earth with your code.&lt;/p&gt;

&lt;h3&gt;
  
  
  It help to document the code
&lt;/h3&gt;

&lt;p&gt;When I review the code, rather than reading the code implementation, I will start from the test package/folder. Because it is fast, comprehensive, save my time.&lt;br&gt;
The developer will write the test in function like SaveUserTest() it is more respected if the test follows the BDD (Behaviour-Driven) which you specify the Given When and Then (I think will make a post about this soon)&lt;/p&gt;

&lt;h3&gt;
  
  
  Takeaway
&lt;/h3&gt;

&lt;p&gt;Shortly, stated from above I suggest that you learn the unit test, and implement it to your code. If your company's culture is yet implemented unit test, I think this is the time, ASAP. Simply because it's worth it&lt;/p&gt;

</description>
      <category>testing</category>
      <category>webdev</category>
      <category>programming</category>
    </item>
  </channel>
</rss>
