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: acairns.co.uk/
Twitter: twitter.com/andrewcairns
Discord: acairns.co.uk/discord
Substack: acairns.substack.com/
---
0:00 Introduction to Primitive Obsession
1:26 Recognising Primitive Obsession
2:54 Understanding Primitive Obsession
4:47 Fixing Primitive Obsession
#oop #programming
コメント