DEV Community

loading...

Discussion on: Refactoring: My 6 favorite patterns

Collapse
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?
martinfowler.com/bliki/ValueObject...

Collapse
brycedooley profile image
Bryce Author

Yes that looks very similar!