[PRL] Joel on Software - Making Wrong Code Look Wrong

William D Clinger will at ccs.neu.edu
Wed May 11 19:21:37 EDT 2005


Doug wrote:
> The gist of his Rant Against Exceptions seems to be
> (translated to Scheme) that the expression "(begin (foo) (bar))"
> may not always result in "bar" being called.

If Doug is correct, then Joel's Rant Against Exceptions applies
to all languages that support both procedure calls and infinite
loops, e.g.

    procedure foo () while true do skip
    procedure bar () ...

    begin foo(); bar() end

becomes an example of Joel's Rant Against Exceptions.

Seems kinda strange to me.

Will



More information about the PRL mailing list