    <rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:sy="http://purl.org/rss/1.0/modules/syndication/" xmlns:admin="http://webns.net/mvcb/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:content="http://purl.org/rss/1.0/modules/content/">
     <channel>
        <title>ACCU  :: A Case Against the Use of Code â€˜Smellsâ€™</title>
        <link>https://members.accu.org/index.php/articles/2694</link>
        <description>Professionalism in Programming</description>
        <dc:language>en-us</dc:language> 
        <dc:creator>Administrator</dc:creator> 
        <admin:generatorAgent rdf:resource="http://www.xaraya.org" /> 
        <admin:errorReportsTo rdf:resource="mailto:webeditor@accu.org" />
       <sy:updatePeriod>hourly</sy:updatePeriod>
       <sy:updateFrequency>1</sy:updateFrequency>
       <docs>http://backend.userland.com/rss</docs>




<div class="xar-mod-head"><span class="xar-mod-title">Process Topics + CVu Journal Vol 31, #4 - September 2019</span></div>

<table border="0" cellpadding="1" cellspacing="0">
    <tbody>
    <tr>
        <td valign="top">
            Browse in :
       </td>
       <td valign="top">

                                            <a href="https://members.accu.org/index.php/articles/">All</a>

                     &gt;                         <a href="https://members.accu.org/index.php/articles/c13/">Topics</a>

                     &gt;                         <a href="https://members.accu.org/index.php/articles/c221/">Process</a>
<br />

                                            <a href="https://members.accu.org/index.php/articles/">All</a>

                     &gt;                         <a href="https://members.accu.org/index.php/articles/c76/">Journals</a>

                     &gt;                         <a href="https://members.accu.org/index.php/articles/c77/">CVu</a>

                     &gt;                         <a href="https://members.accu.org/index.php/articles/c402/">314</a>
<br />

                                            <a href="https://members.accu.org/index.php/articles/c221-402/">Any of these categories</a>

                    -                        <a href="https://members.accu.org/index.php/articles/c221+402/">All of these categories</a>
<br />
</td>
   </tr>
   </tbody>
</table>




<div class="xar-error">
   <p>
 <strong>Note:</strong> when you create a new publication type,
the articles module will automatically use the templates
<em>user-display-[publicationtype].xt</em>
and <em>user-summary-[publicationtype].xt</em>.
If those templates do not exist when you try to preview or display a new article,
you'll get this warning :-)  Please place your own templates in themes/<em>yourtheme</em>/modules/articles . The templates will get the extension .xt there. </p>
</div>
<div class="xar-norm xar-standard-box-padding">
   <h1><strong>Title:</strong>&nbsp;A Case Against the Use of Code â€˜Smellsâ€™</h1>
<p><strong>Author:</strong>&nbsp;Bob Schmidt</p>
<p>
<strong>Date:</strong> 05 September 2019 17:23:45 +01:00 or Thu, 05 September 2019 17:23:45 +01:00</p>
<p><strong>Summary:</strong>&nbsp;Simon Sebright asks if weâ€™re using the term correctly.</p>
<p><strong>Body:</strong>&nbsp;<p>I recently saw a few tweets about deleting code. I am all for that, the first tweet was resounding the good feeling you have when you delete a lot and in this case replace it by a lot less, but that does not have to be the case, sometimes you just get rid of stuff that is not needed.</p>

<p>Anyway, a tweeted reply said something like, â€˜I love the smell of deleted codeâ€™. Hmm, yes, I imagined summer meadows, mountain air, hoppy beer, and stuff like that.</p>

<p>But we are constantly confronted with the concept of â€˜code smellsâ€™, a plural noun, not a sentence. So that implies that smells are a bad thing. Iâ€™d like to recapture the neutrality of the word smell. It means that our sense of smell can detect something, perhaps interpret it. It does not imply bad stuff. In English I would choose the word â€˜stinkâ€™ for that. The farmer has been muck-spreading. It stinks. Sure it smells too, but so do my roses. They donâ€™t stink.</p>

<p>So, letâ€™s use â€˜Bad code smellsâ€™ and â€˜Good code smellsâ€™ to indicate what we mean. Or code â€˜stenchesâ€™ for bad things (but what about good â€“fragrances???). Clean code smells like a spring morning, or lavender, or your shampoo. Bad code smells like dung, mould, the dungeon in a castle still used to house prisoners.</p>

<p>But, letâ€™s conclude by conceding that all metaphors have their limits (otherwise they would not be metaphors). Interestingly, humans cannot imagine smells in the way that (most) can imagine a shape or a sound. I can certainly imagine good and bad code, so maybe we need to find another metaphor.</p>

<p class="bio"><span class="author"><b>Simon Sebright</b></span> Simon has been in Software and Solution development for over 20 years, with a focus on code quality and good practice.</p>
</p>
<p><strong>Notes:</strong>&nbsp;</p>
<p><em>More fields may be available via dynamicdata ..</em></p>
</div>
</channel>
</rss>
