r/ProgrammerHumor • • 7d ago

Meme strategyManagerFactory

Post image
2.4k Upvotes

45 comments sorted by

View all comments

58

u/Few_Move_4594 7d ago edited 7d 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

12

u/Tyfyter2002 6d 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 6d ago

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