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

Programmer Humor

19809 readers
1095 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 2 years ago
MODERATORS
231
Java Was The Future (files.catbox.moe)
submitted 3 months ago* (last edited 3 months ago) by [email protected] to c/[email protected]
you are viewing a single comment's thread
view the rest of the comments
[–] Blue_Morpho 9 points 3 months 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.

[–] [email protected] 8 points 3 months 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