<?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 John Sutherland on Medium]]></title>
        <description><![CDATA[Stories by John Sutherland on Medium]]></description>
        <link>https://medium.com/@sneeu?source=rss-1b969e617bef------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/1*XWiXx2KSp2JwwuK1WCp47A.jpeg</url>
            <title>Stories by John Sutherland on Medium</title>
            <link>https://medium.com/@sneeu?source=rss-1b969e617bef------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Fri, 20 Nov 2026 21:19:04 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@sneeu/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[Worry Less About Repetition]]></title>
            <link>https://medium.com/@sneeu/worry-less-about-repetition-310ce2f51742?source=rss-1b969e617bef------2</link>
            <guid isPermaLink="false">https://medium.com/p/310ce2f51742</guid>
            <category><![CDATA[software-development]]></category>
            <category><![CDATA[software-architecture]]></category>
            <category><![CDATA[code-review]]></category>
            <category><![CDATA[software-design]]></category>
            <dc:creator><![CDATA[John Sutherland]]></dc:creator>
            <pubDate>Sat, 02 Dec 2017 14:49:31 GMT</pubDate>
            <atom:updated>2017-12-02T14:49:31.103Z</atom:updated>
            <content:encoded><![CDATA[<h4>Less knowledge, more code &amp; quicker code reviews.</h4><p>Over the summer there was a poster outside of the National Library of Scotland with the Albert Einstein quote:</p><blockquote>The only thing that you absolutely have to know, is the location of the library.</blockquote><p>What I like about the quote is that it sums up how I think my memory works: I don’t retain a lot of facts, but I do know where to find information. For example, I don’t remember any of my friends’ birthdays (sorry), but I do know that if I ask my wife, she’ll tell me it was two weeks ago. My wife and I have a shared memory.</p><p>In software development we’ve been banging the DRY (Don’t Repeat Yourself) drum for quite a while — it’s a great drum to bang. The idea is simple: refactor similar pieces of code to a more generalized form removing repetition. Bugs that occur are then fixed in one place.</p><p>In larger organizations, it is impossible for every engineer to know all of the code. Engineers may be aware of libraries of components or functionality (like <a href="https://design.trello.com/">Trello’s Nachos</a>), but I’ll argue we can’t expect engineers to know an entire platform before they can contribute.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/640/1*SetluSN8WL3Ks2CVONNELg.jpeg" /><figcaption>Irregular packing.</figcaption></figure><p>Where I see this as a problem is in code review: reviews are at times too critical about repeated functionality that no reasonable person could have known existed. It’s time we cut each other some slack.</p><p>Some amount of repetition in these situations starts to make sense: we can move faster with unconscious duplication and straightforward review, than by trying to know more stuff.</p><p>We should, however, seek out prior art, and avoid reinventing the wheel. But in some cases, three different wheels is perfectly reasonable. 100 different wheels are not.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=310ce2f51742" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>