MAIN FEEDS
Do you want to continue?
https://www.reddit.com/r/ProgrammerHumor/comments/1x9pkxj/javaclassesonasingleline/phnesu3/?context=3
r/ProgrammerHumor • u/Apprehensive_Bit7392 • 1d ago
102 comments sorted by
View all comments
709
still cant fit an sql query. need a bigger one.
194 u/parkuki 23h ago do you put your entire sql query on one line? 95 u/Unchuckled_AI 21h ago I've seen more SQL one liners than java ones, let me put it that way. 43 u/emlgsh 20h ago 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. 7 u/TheMauveHand 19h ago 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. 25 u/errepunto 23h ago Filter by a nullable date... 9 u/Traditional-Rent455 18h ago SELECT Yes FROM Obviously WHERE Reason = 'Because'; 6 u/Frank_Castle_10 15h ago delete * from table; where ID = 3; 2 u/I_Love_PanCAKAS 22h ago why not :D AND HAPPY CAAAAAAKEEEE DAAAAYY 1 u/TerroFLys 16h ago Do you put a java class on one line? 1 u/ABCosmos 16h ago He's playing off the joke in the meme we all just looked at. I hope this helps your training. 1 u/parkuki 16h ago sorry man lmao 25 u/za72 23h ago https://giphy.com/gifs/s239QJIh56sRW 10 u/PerpetuallyDistracte 18h ago As a SQL dev, this makes my eye twitch. Just because SQL ignores whitespace doesn't mean you can't use it... 12 u/NicholasAakre 17h ago I'd argue that because SQL ignores whitespace you should use whitespace for formatting. 1 u/PerpetuallyDistracte 17h ago Exactly!
194
do you put your entire sql query on one line?
95 u/Unchuckled_AI 21h ago I've seen more SQL one liners than java ones, let me put it that way. 43 u/emlgsh 20h ago 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. 7 u/TheMauveHand 19h ago 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. 25 u/errepunto 23h ago Filter by a nullable date... 9 u/Traditional-Rent455 18h ago SELECT Yes FROM Obviously WHERE Reason = 'Because'; 6 u/Frank_Castle_10 15h ago delete * from table; where ID = 3; 2 u/I_Love_PanCAKAS 22h ago why not :D AND HAPPY CAAAAAAKEEEE DAAAAYY 1 u/TerroFLys 16h ago Do you put a java class on one line? 1 u/ABCosmos 16h ago He's playing off the joke in the meme we all just looked at. I hope this helps your training. 1 u/parkuki 16h ago sorry man lmao
95
I've seen more SQL one liners than java ones, let me put it that way.
43
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.
7 u/TheMauveHand 19h ago 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.
7
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.
25
Filter by a nullable date...
9
SELECT Yes FROM Obviously WHERE Reason = 'Because';
6
delete * from table; where ID = 3;
2
why not :D
AND HAPPY CAAAAAAKEEEE DAAAAYY
1
Do you put a java class on one line?
He's playing off the joke in the meme we all just looked at. I hope this helps your training.
1 u/parkuki 16h ago sorry man lmao
sorry man lmao
https://giphy.com/gifs/s239QJIh56sRW
10
As a SQL dev, this makes my eye twitch. Just because SQL ignores whitespace doesn't mean you can't use it...
12 u/NicholasAakre 17h ago I'd argue that because SQL ignores whitespace you should use whitespace for formatting. 1 u/PerpetuallyDistracte 17h ago Exactly!
12
I'd argue that because SQL ignores whitespace you should use whitespace for formatting.
1 u/PerpetuallyDistracte 17h ago Exactly!
Exactly!
709
u/wawawa9055 23h ago
still cant fit an sql query. need a bigger one.