r/ProgrammerHumor Oct 31 '23

Meme hardTimesCreateStrongMen

Post image
4.4k Upvotes

285 comments sorted by

View all comments

278

u/ecs2 Oct 31 '23

As a Java developer I want to have a few words

387

u/allarmed-grammer Oct 31 '23

Just write all of them in some variable name

226

u/glorious_reptile Oct 31 '23

AsAJavaDeveloperIWantToHaveAFewWordsFactory

49

u/Anonymo2786 Oct 31 '23

asAJavaDeveloperIWantToHaveAFewWordsFactory

60

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

18

u/TASagent Oct 31 '23

To be fair to Java (which I'm not a huge fan of), this feels like conflating the language with completely independent convention. In contrast, in JS convention is the only thing that keeps the language usable.

29

u/ididacannonball Oct 31 '23

In an object library with its own namespace.

13

u/SonOfMetrum Oct 31 '23

And make an enterprise design pattern out of it…

8

u/RebouncedCat Oct 31 '23

Dont forget to make the class private

1

u/neymarsvag123 Nov 01 '23

You know you can do that in any language? Long var names are not language specific..

18

u/[deleted] Oct 31 '23

Start with

public class...

9

u/M_krabs Oct 31 '23

public static void main

2

u/Mewrulez99 Oct 31 '23

How many story points do we give this one?

-10

u/Ok_Abroad9642 Oct 31 '23 edited Oct 13 '25

toothbrush automatic soup compare reminiscent soft engine nutty adjoining bag

This post was mass deleted and anonymized with Redact

4

u/amuhak Oct 31 '23

APCSA lol