The Unix Heritage Society mailing list
 help / color / mirror / Atom feed
* [TUHS] Re: Conditions, AKA exceptions.  (Was: I can't drive 55: "GOTO considered harmful" 55th anniversary)
@ 2023-03-10 12:15 Noel Chiappa
  2023-03-10 13:09 ` [TUHS] Re: Conditions, AKA exceptions Lars Brinkhoff
  2023-03-10 13:15 ` [TUHS] Re: Conditions, AKA exceptions. (Was: I can't drive 55: "GOTO considered harmful" 55th anniversary) Ralph Corderoy
  0 siblings, 2 replies; 4+ messages in thread
From: Noel Chiappa @ 2023-03-10 12:15 UTC (permalink / raw)
  To: tuhs

    > From: Ralph Corderoy

    > if you say above that most people are unfamiliar with them due to their
    > use of goto then that's probably wrong

I didn't say that. I was just astonished that in a long thread about handling
exceptional conditions, nobody had mentioned . . . exceptions. Clearly, either
unfamiliarity (perhaps because not many laguages provide them - as you point
out, Go does not), or not top of mind.

	Noel

^ permalink raw reply	[flat|nested] 4+ messages in thread

* [TUHS] Re: Conditions, AKA exceptions.
  2023-03-10 12:15 [TUHS] Re: Conditions, AKA exceptions. (Was: I can't drive 55: "GOTO considered harmful" 55th anniversary) Noel Chiappa
@ 2023-03-10 13:09 ` Lars Brinkhoff
  2023-03-10 17:15   ` Paul Winalski
  2023-03-10 13:15 ` [TUHS] Re: Conditions, AKA exceptions. (Was: I can't drive 55: "GOTO considered harmful" 55th anniversary) Ralph Corderoy
  1 sibling, 1 reply; 4+ messages in thread
From: Lars Brinkhoff @ 2023-03-10 13:09 UTC (permalink / raw)
  To: Noel Chiappa; +Cc: tuhs

Noel Chiappa writes:
> I was just astonished that in a long thread about handling exceptional
> conditions, nobody had mentioned . . . exceptions.  Clearly, either
> unfamiliarity (perhaps because not many laguages provide them - as you
> point out, Go does not), or not top of mind.

Seems to me exceptions are quite mainstream: CLU, C++, Java, C#,
JavaScript, Python all have them.  Arguably Go too, in the form of
panic/recover.

^ permalink raw reply	[flat|nested] 4+ messages in thread

* [TUHS] Re: Conditions, AKA exceptions. (Was: I can't drive 55: "GOTO considered harmful" 55th anniversary)
  2023-03-10 12:15 [TUHS] Re: Conditions, AKA exceptions. (Was: I can't drive 55: "GOTO considered harmful" 55th anniversary) Noel Chiappa
  2023-03-10 13:09 ` [TUHS] Re: Conditions, AKA exceptions Lars Brinkhoff
@ 2023-03-10 13:15 ` Ralph Corderoy
  1 sibling, 0 replies; 4+ messages in thread
From: Ralph Corderoy @ 2023-03-10 13:15 UTC (permalink / raw)
  To: tuhs

Hi Noel,

> > if you say above that most people are unfamiliar with them due to
> > their use of goto then that's probably wrong
>
> I didn't say that.

Thanks for clarifying; I did know it was a possibility.

> I was just astonished that in a long thread about handling exceptional
> conditions, nobody had mentioned . . . exceptions.  Clearly, either
> unfamiliarity (perhaps because not many laguages provide them - as you
> point out, Go does not), or not top of mind.

Or perhaps those happy to use gotos also tend to be those who dislike
exceptions.  :-)

Anyway, I'm off-TUHS-pic so follow-ups set to goto COFF.

-- 
Cheers, Ralph.

^ permalink raw reply	[flat|nested] 4+ messages in thread

* [TUHS] Re: Conditions, AKA exceptions.
  2023-03-10 13:09 ` [TUHS] Re: Conditions, AKA exceptions Lars Brinkhoff
@ 2023-03-10 17:15   ` Paul Winalski
  0 siblings, 0 replies; 4+ messages in thread
From: Paul Winalski @ 2023-03-10 17:15 UTC (permalink / raw)
  To: Lars Brinkhoff; +Cc: Noel Chiappa, tuhs

On 3/10/23, Lars Brinkhoff <lars@nocrew.org> wrote:
>
> Seems to me exceptions are quite mainstream: CLU, C++, Java, C#,
> JavaScript, Python all have them.  Arguably Go too, in the form of
> panic/recover.

PL/I had them from the get-go.  Microsoft added them as an extension to C.

-Paul W.

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2023-03-10 17:15 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-03-10 12:15 [TUHS] Re: Conditions, AKA exceptions. (Was: I can't drive 55: "GOTO considered harmful" 55th anniversary) Noel Chiappa
2023-03-10 13:09 ` [TUHS] Re: Conditions, AKA exceptions Lars Brinkhoff
2023-03-10 17:15   ` Paul Winalski
2023-03-10 13:15 ` [TUHS] Re: Conditions, AKA exceptions. (Was: I can't drive 55: "GOTO considered harmful" 55th anniversary) Ralph Corderoy

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).