[Subject Prev][Subject Next][Thread Prev][Thread Next][Subject Index][Thread Index]

Re: why goto ?

On Thu, Mar 15, 2001 at 10:43:09AM -0800, Rajeev Joseph wrote:
> Only abusive Java code would ever use the
> try-catch-finally clauses as a control structure. Well
> behaving java code uses those statements only as a
> mechanism for error handling.

As Kala pointed out, there are valid uses of try-catch-finally, apart
from error handling. However, the thread *was* about error handling
using gotos and I was suggesting that try-catch-finally is a much
cleaner way of doing error handling.