Stupidly long class name or a geeky poem?

In the JRE is a stupidly long class name, only a code generator could produce such a long name. (Which the developer of the code generator never checked I assume)

com.sun.java.swing.plaf.nimbus. InternalFrameInternalFrameTitlePaneInternalFrameTitlePaneMaximizeButtonWindowNotFocusedState


Or is it a geeky poem burried in the code?

InternalFrame InternalFrame 
Title Pane,
Internal Frame
Title Pane.

Maximize Button Window,
Not Focused State.


The moral of the story, always check the readability/sanity of generated code.

Comments

Popular posts from this blog

Why You Should Tune Code Before Your Garbage Collector

Asking multiple AI to optimise the same code

Demystifying Java Object Sizes: Compact Headers, Compressed Oops, and Beyond