| To: | REALbasic Network Users Group <realbasic-nug at lists dot realsoftware dot com> |
|---|---|
| Subject: | Re: Subclassing Question |
| From: | Will Leshner <leshner at ljug dot com> |
| Date: | Thu, 22 Aug 2002 08:54:48 -0700 |
On Thursday, August 22, 2002, at 07:32 AM, Randall Meadows wrote: <RB-newbie/OO-novice>Would it not be better form to throw and exception in this case, instead of returning nil? In my mind, there is a subtly different, but important, distinction between the two.</> Throwing an exception is an interesting idea. My "gut" tells me no, but I don't know why. It would certainly solve the problem. Or, perhaps better yet, is there an RB equivalent of "pure virtual"? No it doesn't. But it would be great if it did. |
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| ||
| Previous by Date: | Re: Subclassing Question, Will Leshner |
|---|---|
| Next by Date: | Re: Subclassing Question, Mars Saxman |
| Previous by Thread: | Re: Subclassing Question, Charles Yeomans |
| Next by Thread: | Re: Subclassing Question, Randall Meadows |
| Indexes: | [Date] [Thread] [Top] [All Lists] |