this post was submitted on 07 Sep 2024
231 points (97.1% liked)

Programmer Humor

19187 readers
1165 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
[–] xep@fedia.io 5 points 1 week ago (2 children)
[–] MajorHavoc@programming.dev 12 points 1 week ago

Lol. Two things can both be bad.

[–] Blue_Morpho@lemmy.world 9 points 1 week ago (1 children)

I'm unfamiliar with Mac programming but that looks normal. Do those function calls become absurdly long when used?

Here's one I found on Google from the jdk:

InternalFrameInternalFrameTitlePaneInternalFrameTitlePaneMaximizeButtonPainter

Yes that's not a typo, internalframe is repeated.

[–] KairuByte@lemmy.dbzer0.com 8 points 1 week ago

I mean, it’s dumb but I know what it is. It’s the painter for the internal frame’s title pane maximize button, which is in the internal frames title, which is in the internal frame.

It’s essentially a dumb way of writing: InternalFrame.Title.MaximizeButton.Painter