this post was submitted on 15 Jul 2023
1216 points (98.9% liked)

Programmer Humor

19512 readers
380 users here now

Welcome to Programmer Humor!

This is a place where you can post jokes, memes, humor, etc. related to programming!

For sharing awful code theres also Programming Horror.

Rules

founded 1 year ago
MODERATORS
 
you are viewing a single comment's thread
view the rest of the comments
[–] [email protected] 21 points 1 year ago (7 children)

Jfc. Do people really write code like this? I’ve been writing code in Java for 15+ years and have never seen anything like this.

You need more skill, not a wider monitor. SMH.

[–] [email protected] 11 points 1 year ago* (last edited 1 year ago) (1 children)

Yeah, you never see this in enterprise settings. Sure builders or streams can get a bit long but you just pop each .x() on a new line.

And when they're on new lines intellij has a cool feature where it creates a little UI only comment next to the line showing what type it returns.

[–] [email protected] 3 points 1 year ago* (last edited 1 year ago)

In an enterprise setting we'd definitely create a method in that object what would have that chain in it, and call that instead... It seems like it's used over, and over again.

Anyhow, we're sitting here trying to make sense of something that obviously some sort of joke haha.

Man we're such fucking nerds.

load more comments (5 replies)