Re: Exception handling in class: question

Do you have a question? Post it now! No Registration Necessary.  Now with pictures!

[snip 23 lines of code]

> ### Is error handling ok or...

[snip 44 lines of code]

> ### Is this better?

[snip 26 lines of code]

> ### Or, does it just depend on the situation?

Come on.  What is the significant difference?  I'm not going to read
that much code to find out.


Should all methods be wrapped in a single eval block as standard practice for
exception handling or should they be sprinkled through code where needed?  I was
just stating my question in Perl :-)


Site Timeline