>>>>> "GL" == Glenn Linderman <[EMAIL PROTECTED]> writes: GL> That's exactly why it would be nice if index _did_ throw an exception on GL> failure, then you could write code this way, and catch the failures GL> without needing to check return values for the error code case before GL> proceeding with the real case. But you would still have to catch the exception. Not a nice thing to terminate the program just because an expected mismatch occured. Not finding something is not exceptional. Neither is EOF on a file, or working with an empty list. Adding all these exceptions for non-exceptional and quite common scenerios is bothersome. <chaim> -- Chaim Frenkel Nonlinear Knowledge, Inc. [EMAIL PROTECTED] +1-718-236-0183
- Re: RFC 213 (v1) rindex and index should return undef on... Nathan Torkington
- Re: RFC 213 (v1) rindex and index should return und... Chaim Frenkel
- Re: RFC 213 (v1) rindex and index should return... Nathan Torkington
- Re: RFC 213 (v1) rindex and index should re... Nathan Torkington
- Re: RFC 213 (v1) rindex and index shoul... Chaim Frenkel
- Re: RFC 213 (v1) rindex and index ... Glenn Linderman
- Re: RFC 213 (v1) rindex and index ... John Porter
- Re: RFC 213 (v1) rindex and index ... Glenn Linderman
- Re: RFC 213 (v1) rindex and index should return undef on... John Porter
- Re: RFC 213 (v1) rindex and index should return und... Glenn Linderman
- Re: RFC 213 (v1) rindex and index should return... Chaim Frenkel
- Re: RFC 213 (v1) rindex and index should re... Glenn Linderman
- Re: RFC 213 (v1) rindex and index shoul... Chaim Frenkel
- Re: RFC 213 (v1) rindex and index ... Glenn Linderman
- Re: RFC 213 (v1) rindex and index ... John Porter
- Re: RFC 213 (v1) rindex and index ... Glenn Linderman
- Re: RFC 213 (v1) rindex and index ... Nathan Torkington
- Re: RFC 213 (v1) rindex and index should return und... Chaim Frenkel