Tanton Gibbs
Posts: 20
Nickname: tanton
Registered: Aug, 2005
|
|
Re: Implicit Casting, Good or Evil?
|
Posted: Sep 12, 2005 11:26 AM
|
|
I agree. I think Implicit Casting is evil in most cases. I actually think it is a benefit in C++ because C++ needed to be an adapter around a legacy interface, C. Implicit casts helped to make that adapter more user friendly, and therefore was a good thing. However, in a new system, without legacy concerns, there should be no need for implicit casting and only a minimal need for explicit casting. Concepts should be the tool of choice in order to obviate the most common causes of casting.
|
|