Re: Looking at self = [super init].
Re: Looking at self = [super init].
- Subject: Re: Looking at self = [super init].
- From: Marco S Hyman <email@hidden>
- Date: Mon, 01 Jun 2015 17:05:32 -0700
On Jun 1, 2015, at 4:16 PM, Michael David Crawford <email@hidden> wrote:
>
> The paper entitled "Goto Considered Harmful" - by Dijkstra? - was
> criticizing spaghetti code. At the time, commonly used programming
> languages did not have control flow statements like "if/then/else",
> "do/while", "while" or "switch/case". Instead, other than fortran's
> "do/continue" you had to roll your own control flow; often it was done
> quite poorly.
Minor nit... Dijkstra was one of the authors of Algol 60 which had plenty
of control flow statements. He explicitly mentions goto with respect to
algol in his “considered harmful” note:
"Finally I should like to record (as I remember it quite distinctly) how
Heinz Zemanek at the pre-ALGOL meeting in early 1959 in Copenhagen quite
explicitly expressed his doubts whether the go to statement should be
treated on equal syntactic footing with the assignment statement. To a
modest extent I blame myself for not having then drawn the consequences
of his remark.”
However, he follows that with this:
"I remember having read the explicit recommendation to restrict the use of
the go to statement to alarm exits, but I have not been able to trace it;
presumably, it has been made by C. A. R. Hoare.”
which sounds like the “religion” being discussed. My feelings on that topic
are private, as I feel most religious beliefs should be :)
Marc
_______________________________________________
Cocoa-dev mailing list (email@hidden)
Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden