r/ProgrammerHumor • • Oct 19 '26

Meme javaClassesOnASingleLine

Post image
11k Upvotes

110 comments sorted by

View all comments

Show parent comment

221

u/parkuki Oct 19 '26

do you put your entire sql query on one line?

114

u/Unchuckled_AI Oct 19 '26

I've seen more SQL one liners than java ones, let me put it that way.

53

u/emlgsh Oct 19 '26

I put everything on a single line. With the rising costs of storage media lately, I'm doing my part by removing all non-parseable whitespace before each commit.

8

u/TheMauveHand Oct 19 '26

A line break and a space take up the same amount of space though.

OK, Windows uses 2 line break chars, but feel free to use one.

1

u/npqd Oct 25 '26

I put whole microservice java project in a single line including controllers, yaml anf flyway scripts, all in single file

26

u/errepunto Oct 19 '26

Filter by a nullable date...

8

u/Traditional-Rent455 Oct 19 '26

SELECT Yes FROM Obviously WHERE Reason = 'Because';

6

u/Frank_Castle_10 Oct 19 '26

delete * from table;
where ID = 3;

3

u/I_Love_PanCAKAS Oct 19 '26

why not :D

AND HAPPY CAAAAAAKEEEE DAAAAYY

1

u/TerroFLys Oct 19 '26

Do you put a java class on one line?

2

u/danielcw189 Oct 20 '26

JavaJokeClassNamesLongFactoryAbstractInterfaceProvider:)

2

u/TerroFLys Oct 20 '26

Haha yea

1

u/ABCosmos Oct 19 '26

He's playing off the joke in the meme we all just looked at. I hope this helps your training.

1

u/parkuki Oct 19 '26

sorry man lmao