Re: Why Generics?
- From: Dale King <DaleWKing@xxxxxxxxxxxxxxxxxxxx>
- Date: Wed, 25 May 2005 04:51:43 GMT
David Blickstein wrote:
I agree with you, but only in the "possible" sense of "needed", not in the "desirable" sense. In that sense of the word, your claim is already proven by the fact that the new enumerations are (in my understanding) just a little syntactic sugar provided by the javac compiler. So clearly type safe enums were always possible.
There is actually one part of enums that was not possible before and that was the ability to use them as cases in a switch statement.
--
Dale King
.
- Follow-Ups:
- Re: Why Generics?
- From: Tor Iver Wilhelmsen
- Re: Why Generics?
- From: Chris Uppal
- Re: Why Generics?
- References:
- Why Generics?
- From: David Blickstein
- Re: Why Generics?
- From: Eric Sosman
- Re: Why Generics?
- From: Chris Uppal
- Re: Why Generics?
- From: Mike Schilling
- Re: Why Generics?
- From: Chris Uppal
- Re: Why Generics?
- From: David Blickstein
- Re: Why Generics?
- From: David Blickstein
- Why Generics?
- Prev by Date: Re: Why Generics?
- Next by Date: Re: Can I restrict permissions at runtime?
- Previous by thread: Re: Why Generics?
- Next by thread: Re: Why Generics?
- Index(es):