|To:||REALbasic NUG <email@example.com>|
|Subject:||Re: Division by zero|
|From:||Harrie Westphal <firstname.lastname@example.org>|
|Date:||Sun, 3 Aug 2008 16:46:41 -0500|
|Authentication-results:||mx.google.com; spf=neutral (google.com: 22.214.171.124 is neither permitted nor denied by best guess record for domain of email@example.com) firstname.lastname@example.org|
|References:||<7D54B0A7-4499-4427-842B-DBDDEF7D9438@frontiernet.net> <email@example.com> <418B1AB2-AF13-453F-A7CE-B6271578D055@inspiringapps.com> <BADDFE58-ACE8-4DB4-B434-E45E938DBE76@oxalyn.com> <B73CDE85-6C14-4320-96AB-A123C385D9F9@inspiringapps.com> <3290BE19-9439-424B-A5DC-662A62C30CBC@frontiernet.net> <4895DC57.firstname.lastname@example.org> <email@example.com> <AC667C70-9E78-4567-85A5-B207D099A4BC@tolisgroup.com> <1D05139C-9BFC-43BD-B2A5-6CCBE756B266@frontiernet.net> <202C32E1-479C-40E2-A456-0EF45F8D173C@comcast.net> <firstname.lastname@example.org> <64F252DC-0E0F-43CA-A657-6690DD8C2B99@shaw.ca> <FEF652F0-7D83-43F3-A32E-09A844C3B3C7@tolisgroup.com> <582ECB0A-D312-4258-82E0-085EEAD42347@verizon.net> <A5C2277E-41FD-48C0-AF9C-4DC2CEFBA9C6@mac.com> <67BAC459-CC9E-46E2-B672-29A82941A77B@frontiernet.net> <5B23FBC7-BD69-4D6F-9BE0-81810892A30F@comcast.net> <F87AA4C3-3AAF-4269-A847-8BF78821D537@mac.com>|
|Reply-to:||REALbasic NUG <email@example.com>|
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>
|<Prev in Thread]||Current Thread||[Next in Thread>|