On 26/06/2009, at 1:24 PM, Quincey Morris wrote:
After all, the non-band-aid way is almost as easy:
I wholeheartedly agree - this was me just not taking the trouble to understand the real issue.
However, in my defence I'd say that any time you perform a division by a value that something else can change, protecting yourself against silly values (in this case 0) is usually wise unless you can absolutely guarantee that the value is always sensible.
--Graham _______________________________________________ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) 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 arch...@mail-archive.com