3 ms·
The Java Swing API is a good example of OOP done well.
by itronitron 8y ago
The Java Swing API is a good example of OOP done well.
- coldtea 8y agoHuh? If there was a worse example of over-engineering and crappy difficult to use API that would be Swing.
- itronitron 8y agoSwing can't be the worst example, it has no JButtonFactory.
- tonyedgecombe 8y agoI'm not sure about that, how many methods does the JButton class have? https://docs.oracle.com/javase/7/docs/api/javax/swing/JButton.html#method_summary https://docs.oracle.com/javase/7/docs/api/javax/swing/JButto...
- itronitron 8y agoonly a few more than the classes it inherits from :)