On Aug 3, 2008, at 4:26 PM, Arnaud Nicolet wrote:
If you check wether an integer has the value of 'DIVBYZERO', why
not simply checking if it is 2147483648?
Because that number could be a proper value. Arnaud, I believe that
there is only one thing that you and I can agree on and that is to
agree that we disagree on this subject. In my mind I cannot for the
life of me understand your fear of having the compiler raise an
exception for dividing by zero like it ""automatically" does for
array bounds. It appears that you cannot understand why I think it
should be done. Don't fret, seems like, at least in the way of
respondents, that there are a lot more people taking your side on
this issue.
You and I will both hopefully remember to check every divisor for
zero so that this never becomes an issue in our code. Personally I no
longer write code other than for myself and friends so I have no
consequences to worry about should I once again prove myself human
and screw up. Yeah, my friend may cuss at me, but more than likely,
somewhere along the line I have been called worse. ;-)
=== A Mac addict in Tennessee ===
_______________________________________________
Unsubscribe or switch delivery mode:
<http://www.realsoftware.com/support/listmanager/>
Search the archives:
<http://support.realsoftware.com/listarchives/lists.html>
|