this post was submitted on 07 Sep 2024
236 points (97.2% liked)

Programmer Humor

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