<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title>DEV Community: Zohar Pfeffer</title>
    <description>The latest articles on DEV Community by Zohar Pfeffer (@zoharp).</description>
    <link>https://dev.to/zoharp</link>
    <image>
      <url>https://media2.dev.to/dynamic/image/width=90,height=90,fit=cover,gravity=auto,format=auto/https:%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Fuser%2Fprofile_image%2F880903%2F51eada52-c88d-45d6-9ef4-f64af2ef638f.jpeg</url>
      <title>DEV Community: Zohar Pfeffer</title>
      <link>https://dev.to/zoharp</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/zoharp"/>
    <language>en</language>
    <item>
      <title>Why you desperately need Value Objects in your life</title>
      <dc:creator>Zohar Pfeffer</dc:creator>
      <pubDate>Sat, 25 Jun 2022 09:57:56 +0000</pubDate>
      <link>https://dev.to/zoharp/why-you-desperately-need-value-objects-in-your-life-48nh</link>
      <guid>https://dev.to/zoharp/why-you-desperately-need-value-objects-in-your-life-48nh</guid>
      <description>&lt;p&gt;This article is targeted toward developers who want to level up their programming skills. I’ll introduce you to Value Objects, an advanced concept that will help:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Making sure your system is always in a valid state&lt;/li&gt;
&lt;li&gt;Better organize your code and keep it DRYer&lt;/li&gt;
&lt;li&gt;Increase testability, readability, and maintainability&lt;/li&gt;
&lt;li&gt;Make your software more robust, fail-proof, and less buggy&lt;/li&gt;
&lt;/ul&gt;

&lt;h2&gt;
  
  
  The Value in Value Objects
&lt;/h2&gt;

&lt;p&gt;Let me walk you through an example to demonstrate the problem we’re trying to solve. Let’s assume that we need to write a function that sends an invitation to a birthday party. The crudest implementation might look something like this:&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fiyorc80edx7pz33ovwnp.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fiyorc80edx7pz33ovwnp.png" alt="initial function"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;blockquote&gt;
&lt;p&gt;I’m using Typescript throughout the examples, but the principles I’ll discuss here are relevant in pretty much any language and can even be implemented to some extent in non-typed languages. The examples are simplistic and I’m not using the latest syntax to keep things easy to understand.&lt;/p&gt;
&lt;/blockquote&gt;

&lt;p&gt;Notice that the function has no input validation, nothing prevents passing to it arguments that will either break it (like an invalid recipient email) or will simply produce a weird and unwanted output (like “d4$k” as the name or  -6.293 as the age).&lt;/p&gt;

&lt;p&gt;Typescript does a nice job enforcing &lt;strong&gt;some&lt;/strong&gt; business rules, it ensures that “senderName” is a string, and that “age” is a number, but that’s not nearly enough! If we look, for example, at the first argument (”senderName”) and think about what makes up a valid name, we can come up with the following specification:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;A string&lt;/li&gt;
&lt;li&gt;Consists only of alphabetical characters and spaces (no digits or symbols)&lt;/li&gt;
&lt;li&gt;Between 2-100 characters long&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;There’s a lot more we can add to that list, like rules around whitespace, capitalization, etc. But these 3 rules will do for the sake of our example. The point to take here is that real life entities can rarely be modeled to a simple primitive data type in our code (string / number / boolean etc.). They usually have a set of business rules that determine what a valid value looks like, even seemingly simple models such as a name.&lt;/p&gt;

&lt;h2&gt;
  
  
  Introducing Validation
&lt;/h2&gt;

&lt;p&gt;So because we want to avoid processing invalid input, we introduce validations into our function:&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2F5il7phn8udmr6b4f903s.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2F5il7phn8udmr6b4f903s.png" alt="function containing validation"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;What do you think about the way we handle validation here? Notice anything wrong? I mean it’s fine, it’s doing its job. But writing code that works is the easy part and is not enough, writing readable, maintainable, testable, and extensible code is much harder. It’s what separates great programmers from bad ones.&lt;/p&gt;

&lt;h2&gt;
  
  
  What’s wrong then?
&lt;/h2&gt;

&lt;p&gt;The last change might look harmless, but I argue that it introduced several problems into our codebase.&lt;/p&gt;

&lt;p&gt;First of, does the name validation actually belong here? What if we’re handling names in other places in the app, do we duplicate the validation? That wouldn’t be DRY… And we are likely to encounter more and more use cases that require a valid name as our application grows.&lt;/p&gt;

&lt;p&gt;So maybe we can extract the validation to a common service? That’s not a bad idea, but it will be very hard to keep track on whether a certain value has been validated already or not. I’ll probably want to validate the values before passing them as arguments to functions, at the same time I must validate the input on the beginning of every function I write, because how can I be &lt;strong&gt;100% certain&lt;/strong&gt; that the input was validated before being passed to the function? You can see how difficult to manage this gets. I guarantee that if you go with that solution you’re going to find yourself unnecessarily validating the same value multiple times, and the name validation code is going to be scattered all over the codebase resulting in clutter and taking the focus away from the important business logic.&lt;/p&gt;

&lt;p&gt;Besides, the function in the example is about sending birthday invitations. Ideally, that’s the only thing it should do (single responsibility principle). It shouldn’t be concerned with the validation logic of each parameter.&lt;/p&gt;

&lt;h2&gt;
  
  
  How can we remedy this?
&lt;/h2&gt;

&lt;p&gt;Here’s a wild idea - wouldn’t it be great if we could know for sure that the values we pass around are &lt;strong&gt;always&lt;/strong&gt; valid, so we can avoid frantically validating them all around our functions and services? Wouldn’t it be nice if we make sure that our value &lt;strong&gt;cannot&lt;/strong&gt; be modified into an invalid value?&lt;/p&gt;

&lt;p&gt;Let’s recap our needs:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;We need &lt;strong&gt;one&lt;/strong&gt; sensible place that will encapsulate all the business rules concerning the validity of a given value.&lt;/li&gt;
&lt;li&gt;We need to disallow modifications to that value that will put it in an invalid state.&lt;/li&gt;
&lt;li&gt;We need to enforce that our solution is used 100% of the time.&lt;/li&gt;
&lt;/ul&gt;

&lt;h2&gt;
  
  
  Enter Value Objects
&lt;/h2&gt;

&lt;p&gt;Value Objects act as a container that holds a value and all the business rules to validate it. They run all the validations on creation, and since they are immutable (cannot be changed) they don’t allow the value to ever go invalid. If you want to modify a Value Object, instead of changing the existing one you just create a new one in its place. The idea is to pass around the Value Object rather than the primitive value, then we can always be confident that it’s valid.&lt;/p&gt;

&lt;p&gt;So let’s get our hands dirty and create a Value Object for the name data model, we will implement the value object principles one by one.&lt;/p&gt;

&lt;h3&gt;
  
  
  Principle no. 1 - Validates on Creation:
&lt;/h3&gt;

&lt;p&gt;&lt;a href="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Foqnswln3dn7ry7li4beo.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Foqnswln3dn7ry7li4beo.png" alt="initial value object"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fr6t8uaecvb5oqhh8mlch.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fr6t8uaecvb5oqhh8mlch.png" alt="instatiation examples"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Now, whenever we create a Name we can be certain that it’s valid, but we have no assurance that it won’t be modified into an invalid value somewhere along the way. Like so:&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fygmo3g961xwio922l170.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fygmo3g961xwio922l170.png" alt="modification allowed"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;h3&gt;
  
  
  Principle no. 2 - Value Objects Are Immutable
&lt;/h3&gt;

&lt;p&gt;So the next step would be to make the value immutable, in Typescript we can do that by using the “readonly” keyword at the property declaration:&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2F2u08tm2e19u9f9ydhkya.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2F2u08tm2e19u9f9ydhkya.png" alt="adding readonly"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;This prevents the value from being changed after instantiation:&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fn3ompbyrwereo5btpy24.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fn3ompbyrwereo5btpy24.png" alt="immutability example"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;h3&gt;
  
  
  Principle no. 3 - Enforce The Use of Value Objects
&lt;/h3&gt;

&lt;p&gt;Now that we’ve created this awesome Value Object, we need to make sure that it is always used when calling the “sendBirthdayInvitation” function. So we declare it as the parameter type, like so:&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fftgmehhf7k27fm6jrouf.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fftgmehhf7k27fm6jrouf.png" alt="change name parameter"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Unfortunately this isn’t enough. Even after setting “Name” as the parameter type, the following arguments are completely acceptable by TypeScript:&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fcm8ofzz2owo5bbqny9q5.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fcm8ofzz2owo5bbqny9q5.png" alt="structural typing problems"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;What the hell is this? Why would TypeScript allow a literal object and a class other than the “Name” class to be passed as an argument? This has to do with the fact that Typescript employs a structural type system. Without going into too much detail, this means that Typescript compares types by their interface (structure), so two types of the same interface are interchangeable as far as TypeScript concerns. Our Name class interface is just one property called “value” of type string, so any object with a “value“ property of type string will be accepted by TypeScript.&lt;/p&gt;

&lt;p&gt;This completely circumvents our efforts to enforce using the “Name” Value Object whenever calling “sendBirthdayInvitation”. But worry not, I’ve found an easy way to workaround it - all we need to do is to add a private property to the class:&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fam5o78udqikufucnwqm2.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fam5o78udqikufucnwqm2.png" alt="adding private property"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;I gave the private property the weird name of “_X_” just to make sure it won’t clash with property names I would want to use in the future, but you can really name it anything you like.&lt;/p&gt;

&lt;p&gt;Let’s see how TypeScript reacts if we try to pass anything but a “Name” instance now:&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fsw1cuhke5eb5319ejh3a.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fsw1cuhke5eb5319ejh3a.png" alt="literal object rejection"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;So no one will ever be able to pass a literal object, because literal objects cannot have private properties. What about classes?&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fwl223soppm4qfhe5j6hy.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fwl223soppm4qfhe5j6hy.png" alt="other class rejection"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Notice that TypeScript complains even if I add a private “_X_” property to this class too. This is perfect for us because it means that we can use this private property in all of our Value Objects.&lt;/p&gt;

&lt;h2&gt;
  
  
  Congratulations
&lt;/h2&gt;

&lt;p&gt;Our first Value Object is now complete, here it is with all it’s glory:&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fcaiud4ja472tuqpjadg4.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fcaiud4ja472tuqpjadg4.png" alt="complete value object"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Take a moment to appreciate how easy it is to unit test it. How readable and maintainable it is. We defined our domain model so well that it is now virtually impossible to put it in an illegal state at some point in the future. &lt;/p&gt;

&lt;blockquote&gt;
&lt;p&gt;The approach I used to implement the Value Object utilizes classes, which is a pretty Object-Oriented way to do that. If you’re into Functional Programming know that this can be done in a functional way as well. You’re likely to find better implementations of Value Objects online, the one I use here is simplified to make it more understandable.&lt;/p&gt;
&lt;/blockquote&gt;

&lt;h2&gt;
  
  
  Putting Value Objects in Use
&lt;/h2&gt;

&lt;p&gt;If we go back to our original “sendBirthdayInvitation” function, once I define Name as the parameter type, I can rest assured that the argument passed is a Name instance which means it had undergone all the required validations. If we do the same with the other parameters, we can have the function purely focused on its responsibility and clean of any input validation:&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fcfclvnqgjrxq8argc9rz.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fcfclvnqgjrxq8argc9rz.png" alt="value objects as parameters"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Make all of your values into Value Object and you can be confident that your business rules will always be respected. Your functions will be much cleaner and as a result, easier to change or refactor.&lt;/p&gt;

&lt;p&gt;Many software architecture patterns advocate organizing your application into several layers, what we did here is essentially created a separate layer for our data models. That way other layers can remain uncontaminated with our models business rules, which usually manifest themselves as convoluted input validations, if statements, and case clauses.&lt;/p&gt;

&lt;h2&gt;
  
  
  One more added benefit
&lt;/h2&gt;

&lt;p&gt;I sure hope that at this point you are already convinced that using Value Objects can tremendously improve the quality of your code. Still, I’d like to mention one last perk in using them - it acts as the perfect place to document the data model it represents:&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Feibh01gyr1u1kqdna6wb.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Feibh01gyr1u1kqdna6wb.png" alt="documentation comment"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fb4in5fnsgqq7ukmhmjm9.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fb4in5fnsgqq7ukmhmjm9.png" alt="documentation tooltip"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;h2&gt;
  
  
  Conclusion
&lt;/h2&gt;

&lt;p&gt;That’s It! If you made it this far give yourself a pat on the back. &lt;/p&gt;

&lt;p&gt;I Hope you enjoyed my work and that I managed to convey the immense benefit I see in Value Objects. It was the tip of the iceberg, there’s so much that can be improved in this Value Object implementation, and there’s so much more to Value Objects than what I showcased here, but I tried to keep this article bite sized. I hope it ignited your curiosity and I encourage you to explore this subject further.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Please feel free to provide feedback&lt;/strong&gt;, and let me know if you want to see more content on this subject. There’s so much we didn’t touch on like better error handling, creating a Value Object super class, how Value Objects play out in the Domain Driven Design framework and so on. For any questions/comments you can contact me on &lt;a href="https://www.linkedin.com/in/zohar-pfeffer-156575173/" rel="noopener noreferrer"&gt;linkedin&lt;/a&gt;.&lt;/p&gt;

&lt;p&gt;This article was heavily influenced by Domain Driven Design, Secure by Design, Clean architecture, and Khalil Stemmler’s blog.&lt;/p&gt;

</description>
      <category>cleancode</category>
      <category>valueobjects</category>
      <category>domaindrivendesign</category>
      <category>architecture</category>
    </item>
  </channel>
</rss>
