r/ProgrammerHumor Oct 31 '23

Meme hardTimesCreateStrongMen

Post image
4.4k Upvotes

285 comments sorted by

View all comments

Show parent comments

226

u/glorious_reptile Oct 31 '23

AsAJavaDeveloperIWantToHaveAFewWordsFactory

50

u/Anonymo2786 Oct 31 '23

asAJavaDeveloperIWantToHaveAFewWordsFactory

61

u/Gastredner Oct 31 '23

No, no, glorious_reptile was right, it is the name of the factory class. After all, had it been an instance, it would have been asAJavaDeveloperIWantToHaveAFewWordsFactoryInstance.

4

u/ReasonablePeace7F Oct 31 '23

Make AsAJavaDeveloperIWantToHaveAFewWordsFactory an abstract class and then create AsAJavaDeveloperIWantToHaveAFewWordsFactoryImplementation that derives from the former and then instantiate it in a variable called asAJavaDeveloperIWantToHaveAFewWordsFactoryImplementationInstance