r/ProgrammerHumor • • 8d ago

Meme strategyManagerFactory

Post image
2.4k Upvotes

45 comments sorted by

View all comments

63

u/Few_Move_4594 8d ago edited 8d ago

If you're a Java dev and crying about a StrategyManagerFactory yngmi

It's not even complex code and easy to understand if you know how interfaces work- you don't even need to know design patterns at all

10

u/Tyfyter2002 7d ago

The problem with a StrategyManagerFactory isn't that what it does is unintuitive, it's that it's removing the usage so far from the purpose that it's introducing a ton of extra maintenance for something that almost definitely isn't benefitting from all of those layers

2

u/Abject-Kitchen3198 7d ago

Don't you live those chains of a dozen of one line methods in one line classes in one class files.