It was such a simple, brilliant idea. Use the power of Java 5.0 enumerated types to encode details of a data dictionary (attribute name, type, range, units, etc.) and create a type-safe system for ...
This article completes my introduction to new Java language features introduced in Project Coin, the JDK 7 language update. So far I have introduced try-with-resources, switch-on-string, multi-catch, ...
I generally appreciate the extra type checking provided by Java Generics. There is no doubt they improve my code’s readability and maintainability while also improving my code’s runtime robustness.