Deutsch   English   Français   Italiano  
<1696219735.749088927.121438.peter_flass-yahoo.com@news.eternal-september.org>

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

Path: ...!eternal-september.org!feeder3.eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail
From: Peter Flass <peter_flass@yahoo.com>
Newsgroups: alt.folklore.computers,comp.os.linux.misc
Subject: Re: The joy of FORTRAN
Date: Thu, 26 Sep 2024 17:52:04 -0700
Organization: A noiseless patient Spider
Lines: 41
Message-ID: <1696219735.749088927.121438.peter_flass-yahoo.com@news.eternal-september.org>
References: <pan$96411$d204da43$cc34bb91$1fe98651@linux.rocks>
 <5mqdnZuGq4lgwm_7nZ2dnZfqnPSdnZ2d@earthlink.com>
 <vcub5c$36h63$1@dont-email.me>
 <1r0e6u9.1tubjrt1kapeluN%snipeco.2@gmail.com>
 <llgckbF2sq0U3@mid.individual.net>
 <vcuupr$2pg09$1@paganini.bofh.team>
 <156256844.748909906.434683.peter_flass-yahoo.com@news.eternal-september.org>
 <vd0p06$3knoh$6@dont-email.me>
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
Injection-Date: Fri, 27 Sep 2024 02:52:05 +0200 (CEST)
Injection-Info: dont-email.me; posting-host="34c7d93a0541d4d7e103751ad66bbb98";
	logging-data="466478"; mail-complaints-to="abuse@eternal-september.org";	posting-account="U2FsdGVkX1/kNFQpUdJzupfWvSmcN5Du"
User-Agent: NewsTap/5.3.1 (iPad)
Cancel-Lock: sha1:g07C6GxEhHfySKuykAIMI5cJbPk=
	sha1:cfdyIRNVAVGx+k6Q2tWGK0tYlco=
Bytes: 2967

The Natural Philosopher <tnp@invalid.invalid> wrote:
> On 24/09/2024 23:36, Peter Flass wrote:
>> R Daneel Olivaw <Danny@hyperspace.vogon.gov> wrote:
>>> rbowman wrote:
>>>> On Tue, 24 Sep 2024 14:11:19 +0100, Sn!pe wrote:
>>>> 
>>>>> No mention of ALGOL, the ALGorithmic Language?  It was contemporaneous
>>>>> with both FORmula TRANslator and COmmon Business-Oriented Language.
>>>>> <https://en.wikipedia.org/wiki/ALGOL>
>>>> 
>>>> ALGOL's impact on succeeding languages was much greater than its actual
>>>> use.
>>>> 
>>> 
>>> ALGOL60 was the language where a test of equality between two floating
>>> point numbers was actually a test of "close enough for ALGOL".  If I
>>> want to test for "approximately equal" then I want a different operator.
>>> How well did it handle character strings?  Any language which could not
>>> handle them was a language I wanted no part of.
>>> 
>> 
>> C is just pathetic at character strings.
>> 
> Not really.
> They are clearly defined entities and you could construct any routines 
> to manipualate them you liked
> 
> 

That’s like saying Assembler is great at handling strings. You cam write
routines to do whatever you want.

Another thing PL/I got from COBOL is “natural” string handling. Assign a
short string to a larger any the result is automatically blank-padded.
Assign a longer to a shorter and the longer is truncated, with or without
an error. The lengths are all handled by the compiler, so you never get
overruns. I don’t know what ALGOL does. Burroughs ALGOL-58 didn’t handle
strings well. Maybe ALGOL-60 fixed this.

-- 
Pete