<?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: Humberto Arriaga</title>
    <description>The latest articles on DEV Community by Humberto Arriaga (@arriagar).</description>
    <link>https://dev.to/arriagar</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%2F94425%2F057b93a9-135b-40ed-bb99-73a4269b801c.jpeg</url>
      <title>DEV Community: Humberto Arriaga</title>
      <link>https://dev.to/arriagar</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/arriagar"/>
    <language>en</language>
    <item>
      <title>Replacing Else statements for better coding</title>
      <dc:creator>Humberto Arriaga</dc:creator>
      <pubDate>Tue, 25 Jan 2022 20:16:10 +0000</pubDate>
      <link>https://dev.to/arriagar/replacing-else-statements-for-better-coding-fjm</link>
      <guid>https://dev.to/arriagar/replacing-else-statements-for-better-coding-fjm</guid>
      <description>&lt;p&gt;How is it better to replace Else statements and how to do it?&lt;/p&gt;

&lt;p&gt;Else is a decision that splits code in 2 pieces, opens up for 2 paths. When you add more than 1 decision, either at the same level or further down (nesting), then the paths are multiplied and this type of code is usually harder to understand and maintain. &lt;/p&gt;

&lt;p&gt;Why? Well, to me this is because logic, as conceived and implemented by a developer, is usually different than that of the next person who interacts with it. &lt;/p&gt;

&lt;p&gt;So why not make it easier to understand?&lt;/p&gt;

&lt;p&gt;How? Basically 2 recommendations that sum up different approaches. Not exclusive, other practices could be applied to improve.&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Guard clauses
Create statements that exit the current flow of code when required and prevent the rest to be executed.&lt;/li&gt;
&lt;li&gt;Refactoring to smaller pieces of code
Reduce code complexity by creating small functions that are easy to understand.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;References: &lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;&lt;a href="https://www.youtube.com/watch?v=EumXak7TyQ0"&gt;https://www.youtube.com/watch?v=EumXak7TyQ0&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="https://www.youtube.com/watch?v=_ougvb8mT7k"&gt;https://www.youtube.com/watch?v=_ougvb8mT7k&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;

</description>
      <category>tutorial</category>
      <category>programming</category>
      <category>javascript</category>
      <category>beginners</category>
    </item>
    <item>
      <title>Where am I now in web development?</title>
      <dc:creator>Humberto Arriaga</dc:creator>
      <pubDate>Tue, 25 Jan 2022 19:59:22 +0000</pubDate>
      <link>https://dev.to/arriagar/where-am-i-now-in-web-development-3e91</link>
      <guid>https://dev.to/arriagar/where-am-i-now-in-web-development-3e91</guid>
      <description>&lt;p&gt;So, approximately 3 years ago I posted my first &lt;a href="https://dev.to/handmadegod/javascript-framework-to-jump-from-angularjs-----14ck"&gt;entry&lt;/a&gt; which tackled the question of what should I go next on my web developer career. &lt;/p&gt;

&lt;p&gt;At the time, I had finished a mid-size project with my employer, with the opportunity to choose a tech stack, design and develop the architecture of the application. It was an SPA developed with AngularJs and ASP.NET Web API REST endpoints to interface with production services on a shop-floor application. I cannot say it was the best job on the whole dev team, but considering the level of success, it did pretty good.&lt;/p&gt;

&lt;p&gt;Anyway, new challenges were arising and it was obvious that a choice had to be made: Angular or React. Why? because that's the way JS web frameworks evolve right? Having more than 10 years using .NET ecosystem of tools and apps, it seems like it is more of a corporate environment that moves slowly, compared to the new JS frameworks surging every few months.&lt;/p&gt;

&lt;p&gt;Well then, after all this time the result was that now Angular is my weapon of choice for web development. And there where a few attempts with React (nothing really for "production"). &lt;/p&gt;

&lt;p&gt;Hopefully, these days the Angular community seems to me stronger than ever (that seemed as a weak point before, compare to other options).&lt;/p&gt;

&lt;p&gt;I don't think it's necessary to debate wether or not it was a good decision, whatever happens is experience and something to learn. So now the next step is to take this experience and continue the journey. It's still just the beginning. &lt;/p&gt;

</description>
      <category>programming</category>
      <category>webdev</category>
      <category>career</category>
    </item>
    <item>
      <title>Javascript framework to jump from AngularJS?    </title>
      <dc:creator>Humberto Arriaga</dc:creator>
      <pubDate>Mon, 20 Aug 2018 15:35:48 +0000</pubDate>
      <link>https://dev.to/arriagar/javascript-framework-to-jump-from-angularjs-----14ck</link>
      <guid>https://dev.to/arriagar/javascript-framework-to-jump-from-angularjs-----14ck</guid>
      <description>&lt;p&gt;So I have some AngularJS experience, in particular using the AngularUI libraries like UI-route. I did a nice succesfull project for a previous company were I implemented a shopfloor app for the production floor. &lt;br&gt;
Now I'm looking for new challenges and some side gigs that allow me to do some extra income, so anyone that can suggest to me the best option for a framework to start now? right now not sure to choose between React and Angular (obviously) so please any comment will be greatly apreciated.&lt;/p&gt;

</description>
      <category>javascript</category>
      <category>angular</category>
    </item>
  </channel>
</rss>
