Warning: mysqli::__construct(): (HY000/1203): User howardkn already has more than 'max_user_connections' active connections in D:\Inetpub\vhosts\howardknight.net\al.howardknight.net\includes\artfuncs.php on line 21
Failed to connect to MySQL: (1203) User howardkn already has more than 'max_user_connections' active connections
Warning: mysqli::query(): Couldn't fetch mysqli in D:\Inetpub\vhosts\howardknight.net\al.howardknight.net\index.php on line 66
Article <v3528c$mcei$1@dont-email.me>
Deutsch   English   Français   Italiano  
<v3528c$mcei$1@dont-email.me>

View for Bookmarking (what is this?)
Look up another Usenet article

Path: ...!weretis.net!feeder9.news.weretis.net!feeder8.news.weretis.net!eternal-september.org!feeder3.eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail
From: "Stephen Fuld" <SFuld@alumni.cmu.edu.invalid>
Newsgroups: comp.arch
Subject: Re: ALTER, ASSIGN and labels-as-values (was: Unicode in strings)
Date: Tue, 28 May 2024 16:54:36 -0000 (UTC)
Organization: A noiseless patient Spider
Lines: 60
Message-ID: <v3528c$mcei$1@dont-email.me>
References: <v1ns43$2260p$1@dont-email.me> <v33250$89l2$1@dont-email.me> <vaka5jpbad271mal8vtj7hb04mhvgsmlc5@4ax.com> <v33l8i$envo$1@dont-email.me> <v34t59$1on4$1@gal.iecc.com>
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: 7bit
Injection-Date: Tue, 28 May 2024 18:54:36 +0200 (CEST)
Injection-Info: dont-email.me; posting-host="093534cbeaf6b0350ef8480ffa7dcb9e";
	logging-data="733650"; mail-complaints-to="abuse@eternal-september.org";	posting-account="U2FsdGVkX186R5ey+hS3wt9w8AZZYxsiVuxoIlXj/iU="
User-Agent: XanaNews/1.21-f3fb89f (x86; Portable ISpell)
Cancel-Lock: sha1:b8QugQnLWRGhYN52R2B/9OblNdY=
Bytes: 3198

John Levine wrote:

> According to Stephen Fuld <SFuld@alumni.cmu.edu.invalid>:
> > As I said before, you could easily scan the source code and find all
> > the ALTER statements ...
> 
> Hm, I'm guessing you've never dropped a box containing 2000 source
> cards.


I have (remember using a marker to put a diagonal line across the top
of the deck to make it easier to spot an out of order card?  :-(.  But
that isn't the point.  When I said scan, I was referring to the paper
listings that, in the day, were easily available.




> COBOL dates from about 1960, while online text editors, as opposed to
> coding forms and keypunches, didn't become common until the 1970s and
> in some places even later.

Sure, but paper listings were available long before online text
editors.  That is what I used, circa early 1970s.

 
> It really mattered that it was obvious that a Fortran assigned GOTO
> could go anywhere, but in COBOL an altered GOTO looked just like an
> unaltered one.

While I suppose you could code a paragraph with only a GOTO statement,
(required syntax for the ALTERable GOTO), I see no reason to, so while
the GOTO statement itself was syntactically identical to a non
ALTERable GOTO, the fact that it was in a paragraph by itself made it
unique in the source code listing.


> 
> Dunno why COBOL didn't have label variables instead.  It wouldn't
> have been any harder.

I don't know either. 


Note that I am absolutely not arguing that ALTER GOTO was a good idea.
I am just responding to John's assertion that putting it in the
language was "irresponsible", because a programmer could "hide"
malicious code.

While I suppose any feature that makes code harder to comprehend makes
it easier to hide malicious code, John presented no evidence that
anyone ever did this, and I suspect that "easier to hide malicious
code" was not among the most important reasons for the feature's
deprecation.



-- 
 - Stephen Fuld 
(e-mail address disguised to prevent spam)