in reply to Re: Re: How to say 'oops' in OOPs?
in thread How to say 'oops' in OOPs?
Personally, I think "return undef;" is more clear to the reader than "return;" even though they have an identical effect. Explicitly returning undef tells the reader that hey, dammit, the caller is probably watching for a false/undef return.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^4: How to say 'oops' in OOPs?
by adrianh (Chancellor) on Apr 08, 2003 at 21:55 UTC | |
|
Re^4: How to say 'oops' in OOPs? (blank return is subtle)
by Aristotle (Chancellor) on Apr 09, 2003 at 09:51 UTC |