EVALUATION
Enums are just one more form of syntactic sugar that contribute no expressive
power to the language. However, creaping featurism is the way of the world,
and very few people really appreciate the maxim that "less is more". Many
programmers think that "more is more" (ok, so it is intuitive).
Those who want to throw everything including the kitchen sink into
Java can vote for this RFE.
gilad.bracha@eng 2001-01-04
The initial evaluation of this bug should not be construed to represent Sun's consensus opinion on the matter. While we are great fans of the "Typesafe Enum" pattern describe in Item 21 of Bloch's "Effective Java" (Addison-Wesley, 2001), we understand that this pattern's verbosity is a real disadvantage. We are actively investigating a language feature that would provide all the advantages of this pattern while eliminating the verbosity.
###@###.### 2002-01-09
|