<?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 Sahil Rajpal on Medium]]></title>
        <description><![CDATA[Stories by Sahil Rajpal on Medium]]></description>
        <link>https://medium.com/@sahillllxx?source=rss-905d20abdeb7------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/0*Spb5rdbP6IFfS1_8</url>
            <title>Stories by Sahil Rajpal on Medium</title>
            <link>https://medium.com/@sahillllxx?source=rss-905d20abdeb7------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Sat, 28 Nov 2026 14:55:50 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@sahillllxx/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[I Built a Mind Map of All 23 GoF Design Patterns — Here’s What I Noticed]]></title>
            <link>https://sahillllxx.medium.com/i-built-a-mind-map-of-all-23-gof-design-patterns-heres-what-i-noticed-5965bdfa3d31?source=rss-905d20abdeb7------2</link>
            <guid isPermaLink="false">https://medium.com/p/5965bdfa3d31</guid>
            <category><![CDATA[design-patterns]]></category>
            <category><![CDATA[backend-development]]></category>
            <category><![CDATA[spring-boot]]></category>
            <category><![CDATA[lld]]></category>
            <category><![CDATA[java]]></category>
            <dc:creator><![CDATA[Sahil Rajpal]]></dc:creator>
            <pubDate>Sun, 17 May 2026 17:28:51 GMT</pubDate>
            <atom:updated>2026-05-17T17:28:51.112Z</atom:updated>
            <content:encoded><![CDATA[<p>The problem with design patterns isn’t understanding them. It’s remembering which one to reach for.</p><p>You read Singleton, Factory, Observer — you get it in the moment. But two weeks later, Decorator and Proxy blur together. You forget whether Strategy or State manages transitions. You know <em>of</em> the patterns but don’t <em>think</em> in them.</p><p>That’s not a memory problem. That’s a structure problem.</p><p><strong>We learn patterns as a list. They’re actually a relationships.</strong></p><h3>The Fix — See the Relationships</h3><p>Patterns don’t exist in isolation. They share structure, compose with each other, and solve overlapping problems.</p><ul><li>Decorator and Proxy have identical structure — intent is the only difference</li><li>Command + Memento = undo/redo system</li><li>Observer + Mediator = event-driven architecture</li><li>Factory Method is commonly used inside Abstract Factory</li></ul><p>Once you see these connections, patterns stop being 23 things to memorize and become one coherent system to navigate.</p><p>That’s why I built a mind map instead of writing another blog post about each pattern individually.</p><h3>Why Patterns Still Matter in 2026</h3><p>With AI writing code, you’d think patterns are obsolete. They’re not.</p><p>They’re a shared vocabulary. When your architect says “use a Strategy here” or a PR comment says “this should be a Facade” — you need to know instantly. And when you’re designing systems yourself, patterns give you proven structure to reach for.</p><p>Spring Boot alone is a museum of GoF patterns:</p><ul><li>@Transactional → Proxy</li><li>JdbcTemplate → Template Method</li><li>ApplicationEventPublisher → Observer</li><li>@Bean (singleton scope) → Singleton</li><li>BeanFactory → Factory Method</li></ul><p>You use these patterns every day without realizing it. Naming them just makes you intentional about it.</p><h3>The 3 Categories — Your Mental Filter</h3><p>The Gang of Four grouped 23 patterns into three categories. This filter alone changes how fast you identify the right pattern.</p><p><strong>Creational</strong> — <em>How objects are born</em> Singleton · Factory Method · Abstract Factory · Builder · Prototype</p><p><strong>Structural</strong> — <em>How objects are wired together</em> Adapter · Bridge · Composite · Decorator · Facade · Flyweight · Proxy</p><p><strong>Behavioral</strong> — <em>How objects talk to each other</em> Chain of Responsibility · Command · Iterator · Mediator · Memento · Observer · State · Strategy · Template Method · Visitor · Interpreter</p><p>Got a creation problem? Creational. Wiring problem? Structural. Communication problem? Behavioral.</p><p>That’s your first move every time.</p><h3>The Mind Map</h3><p>👉 <a href="https://designpatternsmindmaps.netlify.app/"><strong>designpatternsmindmaps.netlify.app</strong></a></p><p>All 23 GoF patterns, grouped by category, laid out visually. Built for quick revision before interviews and as a reference when you’re mid-design and need to orient fast.</p><p>Stop memorizing a list. Start seeing the relationships.</p><p>If this was useful, share it with a dev friend or drop it in your team’s channel.</p><p><strong>#Java #DesignPatterns #SpringBoot #SoftwareEngineering #LLD #BackendDevelopment</strong></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=5965bdfa3d31" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>