<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0" xmlns:cc="http://cyber.law.harvard.edu/rss/creativeCommonsRssModule.html">
    <channel>
        <title><![CDATA[Stories by David Igbigbi on Medium]]></title>
        <description><![CDATA[Stories by David Igbigbi on Medium]]></description>
        <link>https://medium.com/@alindavidsin?source=rss-4cd9a30c8f12------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/1*DMFaOuGo-vWbsvtf3dEg7g.jpeg</url>
            <title>Stories by David Igbigbi on Medium</title>
            <link>https://medium.com/@alindavidsin?source=rss-4cd9a30c8f12------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Sat, 14 Nov 2026 20:36:11 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@alindavidsin/feed" rel="self" type="application/rss+xml"/>
        <webMaster><![CDATA[yourfriends@medium.com]]></webMaster>
        <atom:link href="http://medium.superfeedr.com/" rel="hub"/>
        <item>
            <title><![CDATA[Code Quality: Questions you should be asking you.]]></title>
            <link>https://medium.com/@alindavidsin/code-quality-questions-you-should-be-asking-you-80eb0da0363f?source=rss-4cd9a30c8f12------2</link>
            <guid isPermaLink="false">https://medium.com/p/80eb0da0363f</guid>
            <category><![CDATA[code]]></category>
            <category><![CDATA[software-development]]></category>
            <category><![CDATA[code-review]]></category>
            <category><![CDATA[tech]]></category>
            <category><![CDATA[code-quality]]></category>
            <dc:creator><![CDATA[David Igbigbi]]></dc:creator>
            <pubDate>Sat, 04 Apr 2020 18:29:12 GMT</pubDate>
            <atom:updated>2020-04-04T18:29:12.163Z</atom:updated>
            <content:encoded><![CDATA[<p>We can never over-emphasize the need for quality codes in the software development sector. Whenever I hear or think of the word “Code Quality” these statements keep playing in my head:</p><ol><li>Save yourself the mental stress in the nearest future.</li><li>Save the next developer from mental stress.</li></ol><p>It is said that most devs spend more time debugging codes than actually writing them. I can tell you that you can slash half of the time spent on debugging your code if you would take time to pay attention to code quality. Most devs tend to shy away from this topic especially junior devs, you hear them say things like “<em>Code quality? that&#39;s a senior dev problem, I am okay as long as it works</em>” months later you find them spending hours trying to find out why the code prints out 1 instead of 2.</p><p>So what exactly is code quality? There are various human and machine metrics that determine the quality of code, some define code quality as to how “long-term useful” and “long-term maintainable” a codebase is. — alright, enough with all the jargon.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*KMHkpT5XmB848a1RUnf30A.jpeg" /><figcaption>Good Code vs Bad Code.</figcaption></figure><p>I would simply like to define code quality as the ability for a code or codebase to be readable and understandable by firstly humans and secondly machines.</p><p>If we can recall the previous definition made mention of the term “<strong>How long-term useful</strong>” if we take a good look at this term we can say that in order for a code or codebase to be in use for a long-term it has to be refactorable and also accommodate new features which in turn would be hectic if we encounter difficulty in reading and understanding the code or codebase. Also, the definition mentioned the term “<strong>How long-term maintainable</strong>” we can’t stress enough on the issue of code maintenance as most devs prefer to start from scratch than maintain someone else&#39;s code or codebase. A maintainable code or codebase must score a high measure on how readable, understandable and interrelated every piece of code snippet is with one another and also provides the ease for modification.</p><p>let&#39;s take a look at the code below:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/684/1*nwJEgxSobRQdU4IR8QMlyg.png" /></figure><p>Nothing serious going on in the code above, but we can notice how the name of each method explains their functionality, how the comments help in explaining each method in detail and how the class is clean and structured i.e the naming of the entities, the spaces, type of indentation… e.t.c. Now let us take a look at its implementation below:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/800/1*3i3NSZqxvPLqGi2hicnzuw.png" /></figure><p>If you were able to read and understand the code above and also make sense of it, that shows how far code readability goes in increasing the level of code quality. In view of these, we can suggest that code quality boils down to code readability i.e the ability for you and other devs to read and make sense of your code or codebase within minimal time. — <em>So you don&#39;t have fellow devs using the “WTF” word every minute when they are starring at your code or codebase.</em></p><p>Code readability takes into account the following:</p><ol><li>Code Structure.</li><li>Naming Convention.</li><li>The frequent use of comments where needed.</li></ol><p>In summary, we can say that a readable code can be refactored easily, a readable code consumes less amount of time spent on trying to understand it, a readable code makes room to accommodate new features with easy, a readable code explains itself, and all these put together makes a readable code maintainable.</p><p>So when next you writing that piece of code ask yourself these:</p><ol><li>“<em>Am I saving myself from mental stress in the future?</em>”</li><li>“<em>Am I saving the next developer from mental stress?</em>” — Who knows? you could be a messiah.</li></ol><p>Happy Coding!</p><p>Check me out on | Linkedin: <a href="https://www.linkedin.com/in/david-igbigbi-487807110/">David Igbigbi</a>. | Twitter: <a href="https://twitter.com/alindavidsin02">@alindavidsin02</a></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=80eb0da0363f" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>