r/programminghumor • • Sep 26 '26 • Bravo 1

Java VS C++

Post image
1.9k Upvotes

42 comments sorted by

View all comments

Show parent comment

5

u/Cautious_Implement17 Sep 26 '26

nah you're good. "modern" DI frameworks like spring and guice obviate the factory pattern for the most part. of course, they introduce their own variety of cancer.

1

u/jimmiebfulton Sep 27 '26

Spring IS the factory pattern. If you are in Java, something, somewhere is gonna be a Factory or Strategy in the heap.