Remove Separate Concerns From a Class and Make It Favor SRP Again
Download the source code: / source-code-for-87512006 Classes that start out simple often fall victim to the creep of complexity in a very peculiar manner. Separate concerns can sneak into a class, leading to a bloated mess of code that's hard to understand and maintain. What once was sleek and elegant turns into a tangled web. In this video, we dive deep into this all-too-common problem to uncover its sources and explain the cure for it. We will start by dealing with issues related to implementing Composite and Decorator patterns, continue with optimizing the performance of the resulting object composition, all the way through to find that all those separate concerns, though mandatory, have caused bloat in what used to be a concise class, ruining its elegance beyond recognition. You will learn to utilize the power of extension methods as your ally in maintaining the Single Responsibility Principle and keeping your code clean and effective. Thank you so much for watching! Please like, comment & share this video as it helps me a ton!! Don't forget to subscribe to my channel for more amazing videos and make sure to hit the bell icon to never miss any updates.🔥❤️ ✅🔔 Become a patron ► / zoranhorvat ✅🔔 Subscribe ► / @zoran-horvat ⭐ Learn more from video courses: Beginning Object-oriented Programming with C# ► https://codinghelmet.com/go/beginning... ⭐ Collections and Generics in C# ► https://codinghelmet.com/go/collectio... ⭐ Making Your C# Code More Object-oriented ► https://codinghelmet.com/go/making-yo... ▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬ ⭐ CONNECT WITH ME 📱👨 🌐Become a patron ► / zoranhorvat 🌐Buy me a Coffee ► https://ko-fi.com/zoranhorvat 🗳 Pluralsight Courses ► https://codinghelmet.com/go/pluralsight 📸 Udemy Courses ► https://codinghelmet.com/go/udemy 📸 Join me on Twitter ► / zoranh75 🌐 Read my Articles ► https://codinghelmet.com/articles 📸 Join me on LinkedIn ► / zoran-horvat ▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬ 👨 About Me 👨 Hi, I’m Zoran, I have more than 20 years of experience as a software developer, architect, team lead, and more. I have been programming in C# since its inception in the early 2000s. Since 2017 I have started publishing professional video courses at Pluralsight and Udemy and by this point, there are over 100 hours of the highest-quality videos you can watch on those platforms. On my YouTube channel, you can find shorter video forms focused on clarifying practical issues in coding, design, and architecture of .NET applications.❤️ ▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬ ⚡️RIGHT NOTICE: The Copyright Laws of the United States recognize a “fair use” of copyrighted content. Section 107 of the U.S. Copyright Act states: “Notwithstanding the provisions of sections 106 and 106A, the fair use of a copyrighted work, including such use by reproduction in copies or phono records or by any other means specified by that section, for purposes such as criticism, comment, news reporting, teaching (including multiple copies for classroom use), scholarship, or research, is not an infringement of copyright." This video and our youtube channel, in general, may contain certain copyrighted works that were not specifically authorized to be used by the copyright holder(s), but which we believe in good faith are protected by federal law and the Fair use doctrine for one or more of the reasons noted above. ⭐For copyright or any inquiries, please contact us at [email protected] #csharp #dotnet #objectorientedprogramming

Is Structural Inspection Part of Your Unit Testing Strategy?

Keep an Eye on SRP - That Might Just Save Your Broken Code Base

Use Incremental Coding Technique and Make No Bugs in Complex Features

AI in Pure C# (A glimpse into how the frameworks work)

Why Favor Object Composition Over Class Inheritance? A Deep Dive

UEC++ From Basics to Advanced | M26-016: Build Server Login Interface

TypeScript 7 Is Here (And It's 10× Faster)

Jensen Huang: The Mindset That Built NVIDIA

Wish To Remove Primitive Obsession? Try This Effective Technique!

Combine Design Patterns To Reveal Their Greatest Power

8 await async mistakes that you SHOULD avoid in .NET

Why Senior Devs Build Their Own Monads

777 Portal ✨ Manifest Miracles, Abundance & Divine Alignment - Meditation Music

Is This Wish Meant to Be Fulfilled? 🧚🤲 Detailed Pick a Card Tarot Reading ✫・

The Most Powerful Manifestation Technique ... It Works So Fast It's Scary.

Too Many Parameters? Use This Pattern

Jon Stewart on Trump's "Meritocracy" & Desi Lydic on MAGA Moving Iran Goalposts | The Daily Show

You are a Junior Dev if You Don’t Know These 18 TypeScript Utility Types

How to Avoid Null Reference Exceptions: Optional Objects in C#

