What methods should go into a java.util.Objects class in JDK 7? (original) (raw)
David Holmes - Sun Microsystems David.Holmes at Sun.COM
Wed Oct 7 08:51:40 UTC 2009
- Previous message: What methods should go into a java.util.Objects class in JDK 7?
- Next message: What methods should go into a java.util.Objects class in JDK 7?
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Stephen Colebourne said the following on 10/07/09 18:10:
BTW, I don't accept the argument that one and only one way to do something is part of the JDK.
While the JDK is far from a model example of providing "one way" to do something, that doesn't mean we should gratuitously add superfluous and redundant functionality. Type.valueOf is an established pattern for converting types.
The JDK is already severely bloated - new APIs should pay their own way.
David
- Previous message: What methods should go into a java.util.Objects class in JDK 7?
- Next message: What methods should go into a java.util.Objects class in JDK 7?
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]