3 ms·
I seem to remember that specific Swing L&F (look & feel) is at least partially generated code using an in-house tool. It also implements a specific interface P
by vrotaru 14y ago
I seem to remember that specific Swing L&F (look & feel) is at least partially generated code using an in-house tool.
It also implements a specific interface Painter<JComponent> which explains the Why and the javadoc is copied from its parent class.
So it is not as much an example of beauraucracy as of code-generation.
- dualogy 14y agoExactly what I suspected as well. Just had that experience with this Go code-generator generating wrapper packages based on XSD files, here's a fine example: the "TxsdModesUnionTxsdModesUnionListTxsdModesUnionTxsdModesUnionListUnion" ( http://github.com/metaleap/go-xsd/blob/master/pkg/www.w3.org/2007/schema-for-xslt20.xsd_gopkg/schema-for-xslt20.xsd.go#L213 http://github.com/metaleap/go-xsd/blob/master/pkg/www.w3.org... ) Alternative would have been hundreds of "AnonN" identifiers with N going well into the hundreds...