1227
you are viewing a single comment's thread
view the rest of the comments
view the rest of the comments
this post was submitted on 15 Jul 2023
1227 points (98.9% liked)
Programmer Humor
19463 readers
14 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
- Keep content in english
- No advertisements
- Posts must be related to programming or programmer topics
founded 1 year ago
MODERATORS
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.
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.
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.