View Single Post
Old 01-25-2004, 05:04 PM   #16
Rhuarc
Member
 
Join Date: Jul 2003
Posts: 50
Rhuarc is on a distinguished road
Well, when I write code, I try to have an eye towards readability. One of the nice things that casting does for you, is it not only makes it clear to the compiler what you were expecting, but it makes it crystal clear to anyone else who later has to come and maintain your code.

Trusting the compiler to know what you wanted is just a big an evil as trusting the client to rtfm... Works in theory!
Rhuarc is offline   Reply With Quote