On Oct 5, 2010, at 9:16 AM, Shawn Bakhtiar wrote:

> Did you just call typecasting  "*completely* unnecessary and pointless"...

No, I called typecasting an int type to a floating type, in order to add it to 
a floating type, unnecessary and pointless.

> You may be correct in that in Objective-C this may no longer be an issue, as 
> the compiler does your work for you, but that was not an assumption I was 
> making.

It's got nothing to do with Objective-C; C has always taken care of that case. 
What exactly do you think is wrong with x = x + 100 where x is a double? 

-- 
Scott Ribe
[email protected]
http://www.elevated-dev.com/
(303) 722-0567 voice




_______________________________________________

Cocoa-dev mailing list ([email protected])

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to [email protected]

Reply via email to