this post was submitted on 07 Sep 2024
235 points (96.8% liked)
Programmer Humor
19594 readers
891 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
you are viewing a single comment's thread
view the rest of the comments
view the rest of the comments
It's java. Extremely drawn out method names is it's calling card.
Java isn't as verbose as Appkit/UIKit, I think. Take a look: https://developer.apple.com/documentation/uikit/nstextselectiondatasource https://developer.apple.com/documentation/appkit/nstextinputclient
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.
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