DEV Community


Discussion on: Refactoring: My 6 favorite patterns

kant312 profile image
Quentin Delcourt

Thank you for the article!
I also like to store gigantic conditionals in a meaningful variable 😛

As for the example number 4, I suppose it's an implementation of the Value Object pattern, for elements that do not have a specific identity?

brycedooley profile image
Bryce Author

Yes that looks very similar!