thangchung / clean-code-dotnet

:bathtub: Clean Code concepts and tools adapted for .NET
MIT License
7.16k stars 1.11k forks source link

Primitive Obsession #58

Open phduarte opened 5 years ago

phduarte commented 5 years ago

In the Objects and Data Structures topic, it can be included this design pattern that treat the use of string, int, and so on, instead Classes for Name, Money, Email, Phone, etc.

reference:

https://refactoring.guru/smells/primitive-obsession

thangchung commented 5 years ago

@phduarte I will have a look at the article. Feel free to do a PR if you think that's good for our community