Lets Talk - Separate State from Behavior - Yes PLEASE! @Matlus
Lets Talk - Separate State from Behavior - Yes PLEASE!  @Matlus
Uploaded December 2020 | Updated September 2026, 1 week ago
In object oriented programming, we're taught to build "smart" classes. These are classes that have state and behavior such that an order object can save/delete/retrieve etc, In this video I make a case for why class that have state should not have behavior (and should be immutable) and classes that have behavior should not have state.

The Entire solution for the code shown in this video can be found here:
github.com/matlus/MovieServiceYouTube
Lets Talk - Separate State from Behavior - Yes PLEASE!Layered Architecture Implementation GuidelinesAnnouncement: Debates on various Technology TopicsUnit Testing Best PracticesASP.NET Core - Responsibilities Of a ControllerSo You Think You Know C#? ValueTuples & DeconstructionDesign Nugget - Adapter Design Pattern - Testing Service Bus using RabbitMQ LocallyUnderstanding Polymorphism in C# - Part 2Programming Destination for 2021
Shiv Kumar |

Let's Talk - Separate State from Behavior - Yes PLEASE!

SHARE TO X SHARE TO REDDIT SHARE TO FACEBOOK WALLPAPER