| To: | REALbasic NUG <realbasic-nug at lists dot realsoftware dot com> |
|---|---|
| Subject: | Re: Nice little variant compare gotcha |
| From: | Brady Duga <duga at ljug dot com> |
| Date: | Fri, 31 Dec 2004 10:03:12 -0800 |
| Delivered-to: | realbasic-nug at lists dot realsoftware dot com |
| References: | <20041230213934 dot 081C36284FD at lists dot realsoftware dot com> <p061104afbdfa346f1218 at 192 dot 168 dot 1 dot 2> <3396e7e204123015082fd89aa5 at mail dot gmail dot com> <p06200700bdfa3eb9936a at [10 dot 0 dot 1 dot 11]> <7231169A-5B3F-11D9-93D0-003065F2C108 at shaw dot ca> |
On Dec 31, 2004, at 7:20 AM, Terry Ford wrote: BTW, Rb finally succumbed to that one. 1+1 no longer = 11. We *won* that one! Well, sort of. As I recall, changing that led to all sorts of other problems. Basically, avoid variants if you can, and when you can't make sure you explicitly specify what type of data you expect to get out of it. Runtime oddities are no fun to debug on your users machine - make the compiler complain for you. --Brady The La Jolla Underground _______________________________________________ Unsubscribe or switch delivery mode: <http://www.realsoftware.com/support/listmanager/> Search the archives of this list here: <http://support.realsoftware.com/listarchives/lists.html> |
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| ||
| Previous by Date: | A Small Success, Bob Gordon |
|---|---|
| Next by Date: | Re: Is a volume?, Dave |
| Previous by Thread: | Re: Nice little variant compare gotcha, Terry Ford |
| Next by Thread: | Re: Nice little variant compare gotcha, Terry Ford |
| Indexes: | [Date] [Thread] [Top] [All Lists] |