<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Clean Code on Yonatan Karp-Rudin</title><link>https://yonatankarp.com/tags/clean-code/</link><description>Recent content in Clean Code on Yonatan Karp-Rudin</description><generator>Hugo</generator><language>en</language><lastBuildDate>Mon, 20 Nov 2023 00:00:00 +0100</lastBuildDate><atom:link href="https://yonatankarp.com/tags/clean-code/index.xml" rel="self" type="application/rss+xml"/><item><title>Design Patterns - Prototype</title><link>https://yonatankarp.com/blog/design-patterns-prototype/</link><pubDate>Mon, 20 Nov 2023 00:00:00 +0100</pubDate><guid>https://yonatankarp.com/blog/design-patterns-prototype/</guid><description>&lt;blockquote&gt;&#10;&lt;p&gt;&lt;strong&gt;TL;DR:&lt;/strong&gt; The Prototype design pattern creates new objects by cloning a prototypical instance, allowing you to modify the copy without creating an object from scratch. This pattern is useful when object creation is expensive or when classes to instantiate are specified at runtime.&lt;/p&gt;&#10;&lt;/blockquote&gt;</description></item><item><title>Design Patterns - Builder</title><link>https://yonatankarp.com/blog/design-patterns-builder/</link><pubDate>Fri, 03 Nov 2023 00:00:00 +0100</pubDate><guid>https://yonatankarp.com/blog/design-patterns-builder/</guid><description>&lt;blockquote&gt;&#10;&lt;p&gt;&lt;strong&gt;TL;DR:&lt;/strong&gt; Separate the construction of a complex object from its representation so that the same construction process can create different representations.&lt;/p&gt;&#10;&lt;/blockquote&gt;</description></item><item><title>Design Patterns - Abstract Factory</title><link>https://yonatankarp.com/blog/design-patterns-abstract-factory/</link><pubDate>Thu, 26 Oct 2023 00:00:00 +0100</pubDate><guid>https://yonatankarp.com/blog/design-patterns-abstract-factory/</guid><description>&lt;blockquote&gt;&#10;&lt;p&gt;TL;DR: Abstract Factory pattern provides an interface for creating families of related or dependent objects without specifying their concrete classes. This pattern is useful when the system needs to be independent of how its products are created, composed, and represented, and when there are multiple families of products that need to be used together.&lt;/p&gt;&#10;&lt;/blockquote&gt;</description></item><item><title>Design Patterns - Factory</title><link>https://yonatankarp.com/blog/design-patterns-factory/</link><pubDate>Tue, 24 Oct 2023 00:00:00 +0100</pubDate><guid>https://yonatankarp.com/blog/design-patterns-factory/</guid><description>&lt;blockquote&gt;&#10;&lt;p&gt;&lt;strong&gt;TL;DR:&lt;/strong&gt; Factory pattern provides a static method encapsulated in a class to hide implementation logic, allowing client code to focus on usage rather than object initialization. It simplifies object creation, promotes loose coupling, and supports easy switching between object types without modifying existing code.&lt;/p&gt;&#10;&lt;/blockquote&gt;</description></item></channel></rss>