Re: Goto inside a call statement?



glen herrmannsfeldt wrote:
James Giles wrote:

One of the reasons I don't like the exception handling features of
most other languages is that they don't even mention the possibility
of error locally. That is, if A calls B which then calls C, and an
exception occurs in C there will be no indication in the source
code of B that C's return will be to some handler in A.

Look at Java. [...]

Indeed. Readers of this thread might benefit from reading:
http://java.sun.com/docs/books/tutorial/essential/exceptions/advantages.html

--
J. Giles

"I conclude that there are two ways of constructing a software
design: One way is to make it so simple that there are obviously
no deficiencies and the other way is to make it so complicated
that there are no obvious deficiencies." -- C. A. R. Hoare


.



Relevant Pages

  • Re: Why is the memory doubled when writing data to files?
    ... glen herrmannsfeldt wrote: ... > languages, as fopenand printf() are functions, not statements ... no deficiencies and the other way is to make it so complicated ...
    (comp.lang.fortran)
  • Re: Is there a way like this in Fortran?
    ... happen for a reason :-) ... Careful attention to the design ... quality of future languages ... no deficiencies and the other way is to make it so complicated ...
    (comp.lang.fortran)
  • Re: indentation - unbalanced parentheses
    ... glen herrmannsfeldt wrote: ... design: One way is to make it so simple that there are obviously ... no deficiencies and the other way is to make it so complicated ... R. Hoare ...
    (comp.lang.fortran)
  • Re: Fun with older compilers
    ... glen herrmannsfeldt wrote: ... > The PL/I language definition requires a copy of a constant to be ... On of the few cases where I've agreed with PL/I's design. ... no deficiencies and the other way is to make it so complicated ...
    (comp.lang.fortran)
  • Tail call optimization and OO
    ... In it he points to what he sees as deficiencies in OO languages and ... of lists as an abstract list --'alist', ... subclasses: 'empty' and 'cons-cell'. ... languages with out tail call elimination. ...
    (comp.lang.lisp)