🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.arch
Article #67

Re: Optimization by programmers

#67
From: John Levine
Date: Mon, 12 Oct 2026 19:54
24 lines
2058 bytes
According to MitchAlsup  <user5857@newsgrouper.org.invalid>:
quadibloc@invalid.com (John Savard) posted:
>> >In FORTRAN, it used to be possible on systems such as /360 to write
>> >
>> >      CALL FOO(21)
>> >      WRITE (*,*) 21
>> >      END
>> >
>> >      SUBROUTINE FOO(N)
>> >      N = 42
>> >      END

>And you think the language designers in 1956 could have figured that out ???

The original FORTRAN compiler didn't have user defined subroutines, only
the infamous ASSIGN statement, so it didn't come up.

By 1958 FORTRAN II had subroutines using call by reference so I suspect someone
smashed a constant argument shortly thereafter.

-- 
Regards,
John Levine, johnl@taugh.com, Primary Perpetrator of "The Internet for Dummies",
Please consider the environment before reading this e-mail. https://jl.ly
Technical Details
Message-ID: <11ajdu1$19ak$1@gal.iecc.com>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!weretis.net!feeder9.news.weretis.net!news.misty.com!news.iecc.com!.POSTED.news.iecc.com!not-for-mail
References: <1177fdi$26ea4$1@dont-email.me> <11aig3c$3hdcn$1@dont-email.me> <6acd0635.21804140@news.eternal-september.org> <1791830400-5857@newsgrouper.org>

Show Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!weretis.net!feeder9.news.weretis.net!news.misty.com!news.iecc.com!.POSTED.news.iecc.com!not-for-mail
From: John Levine <johnl@taugh.com>
Newsgroups: comp.arch
Subject: Re: Optimization by programmers
Date: Mon, 12 Oct 2026 19:54:41 -0000 (UTC)
Organization: Taughannock Networks
Message-ID: <11ajdu1$19ak$1@gal.iecc.com>
References: <1177fdi$26ea4$1@dont-email.me> <11aig3c$3hdcn$1@dont-email.me> <6acd0635.21804140@news.eternal-september.org> <1791830400-5857@newsgrouper.org>
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: 8bit
Injection-Date: Mon, 12 Oct 2026 19:54:41 -0000 (UTC)
Injection-Info: gal.iecc.com; posting-host="news.iecc.com:2001:470:1f07:1126:0:676f:7373:6970";
	logging-data="42324"; mail-complaints-to="abuse@iecc.com"
In-Reply-To: <1177fdi$26ea4$1@dont-email.me> <11aig3c$3hdcn$1@dont-email.me> <6acd0635.21804140@news.eternal-september.org> <1791830400-5857@newsgrouper.org>
Cleverness: some
X-Newsreader: trn 4.0-test77 (Sep 1, 2010)
Originator: johnl@iecc.com (John Levine)