What is "evil" about casting?
From: Jonck (jonck_at_vanderkogel.net)
Date: 09/29/04
- Next message: andreas: "Re: laundry room help!"
- Previous message: staff: "rmi.Naming and registry"
- Next in thread: Jacob: "Re: What is "evil" about casting?"
- Reply: Jacob: "Re: What is "evil" about casting?"
- Reply: Sudsy: "Re: What is "evil" about casting?"
- Reply: Michael Borgwardt: "Re: What is "evil" about casting?"
- Reply: Daniel Sjöblom: "Re: What is "evil" about casting?"
- Reply: Will Hartung: "Re: What is "evil" about casting?"
- Reply: Jonck: "Re: What is "evil" about casting?"
- Reply: Scott Ellsworth: "Re: What is "evil" about casting?"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: Wed, 29 Sep 2004 14:06:44 GMT
Hi all,
Today I was reading through some discussions about the new functionality
in Java 1.5 and there I read more than once that casting was considered
"evil" and that generics would solve all this (or not, as others argued).
Could someone give me a brief explenation as to what is wrong with
casting and how generics in Java 1.5 will solve this? Personally I don't
see what's wrong with casting, in all the books I've read on Java casts
are used all the time...
Thanks very much, Jonck
- Next message: andreas: "Re: laundry room help!"
- Previous message: staff: "rmi.Naming and registry"
- Next in thread: Jacob: "Re: What is "evil" about casting?"
- Reply: Jacob: "Re: What is "evil" about casting?"
- Reply: Sudsy: "Re: What is "evil" about casting?"
- Reply: Michael Borgwardt: "Re: What is "evil" about casting?"
- Reply: Daniel Sjöblom: "Re: What is "evil" about casting?"
- Reply: Will Hartung: "Re: What is "evil" about casting?"
- Reply: Jonck: "Re: What is "evil" about casting?"
- Reply: Scott Ellsworth: "Re: What is "evil" about casting?"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|
|