Discover what the Code Smell "Primitive Obsession" means in coding and how it can signal potential issues in your codebase.
This video breaks down how to recognise this common code smell, understand its implications, and explore ways to refactor your code using Value Objects as the solution to resolve your Primitive Obsession.
Learn how to improve encapsulation, avoid code duplication, and ensure better maintainability by addressing Primitive Obsession in your projects.
---
Website: [ Ссылка ]
Twitter: [ Ссылка ]
Discord: [ Ссылка ]
Substack: [ Ссылка ]
---
0:00 Introduction to Primitive Obsession
1:26 Recognising Primitive Obsession
2:54 Understanding Primitive Obsession
4:47 Fixing Primitive Obsession
#oop #programming
Primitive Obsession: An OOP Code Smell
Теги
software designsoftware design patternsdesign patternsprimitive obsessionprimitive obsession in software developmentprimitive obsession php examplescode smellsanti-patternscode smells and anti-patternssoftware anti patternssoftware code smellsSOLID principlessoftware principlessoftware refactoringencapsulationcode reusecode duplicationprevent code duplicationwriting maintainable codewriting solid codewriting dry codeprogrammingcoding