<?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: Carlos Yucra</title>
    <description>The latest articles on DEV Community by Carlos Yucra (@bcarlog).</description>
    <link>https://dev.to/bcarlog</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%2F1237088%2F10131912-976b-4282-9060-8caa2eb02c98.png</url>
      <title>DEV Community: Carlos Yucra</title>
      <link>https://dev.to/bcarlog</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/bcarlog"/>
    <language>en</language>
    <item>
      <title>Clean Code functions</title>
      <dc:creator>Carlos Yucra</dc:creator>
      <pubDate>Tue, 19 Dec 2023 23:56:53 +0000</pubDate>
      <link>https://dev.to/bcarlog/clean-code-fuctions-29bi</link>
      <guid>https://dev.to/bcarlog/clean-code-fuctions-29bi</guid>
      <description>&lt;p&gt;I'm currently reading the "Clean Code" book, and I'm exploring the importance of good functions in software programming. In the beginning, when our code is concise, it's easy to understand both for ourselves and our team members. However, as we add more functionalities/code, our functions may grow, incorporating numerous lines of code. &lt;strong&gt;THIS IS NOT IDEAL&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;Here are some tips on functions that might prove helpful in your daily code.&lt;/p&gt;

&lt;h4&gt;
  
  
  Keep functions under 100 lines:
&lt;/h4&gt;

&lt;p&gt;If a functions exceeds a hundred lines of code, consider breaking it down into smaller, more manageable functions.&lt;/p&gt;

&lt;h4&gt;
  
  
  Limit line length to 150 characters.
&lt;/h4&gt;

&lt;p&gt;Shorter lines are easier to understand and facilitating quicker comprehension.&lt;/p&gt;

&lt;h4&gt;
  
  
  Focus on one thing.
&lt;/h4&gt;

&lt;p&gt;Sometimes functions may have multiple tasks, try to break them down into smaller functions with distinct levels.&lt;/p&gt;

&lt;h4&gt;
  
  
  Ident level maximun of one or two.
&lt;/h4&gt;

&lt;p&gt;Excessive information, sometimes referred to as "hadouken", arise when there are multple if/else levels in the code.&lt;/p&gt;

&lt;p&gt;By following these guidelines, your code will become more readable and maintainable, making it easier for all (you and your team ;).&lt;/p&gt;

</description>
      <category>cleancode</category>
      <category>functions</category>
      <category>programming</category>
      <category>productivity</category>
    </item>
  </channel>
</rss>
