Rocksolid Light

Welcome to novaBBS (click a section below)

mail  files  register  newsreader  groups  login

Message-ID:  

The only thing cheaper than hardware is talk.


computers / comp.os.vms / [OT] Current students apparently can't read Fortran code...

SubjectAuthor
* [OT] Current students apparently can't read Fortran code...Simon Clubley
+* Re: [OT] Current students apparently can't read Fortran code...Grant Taylor
|`* Re: [OT] Current students apparently can't read Fortran code...Bill Gunshannon
| `- Re: [OT] Current students apparently can't read Fortran code...Arne Vajhøj
+* Re: [OT] Current students apparently can't read Fortran code...Craig A. Berry
|+* Re: [OT] Current students apparently can't read Fortran code...Arne Vajhøj
||`* Re: [OT] Current students apparently can't read Fortran code...Galen
|| +* Re: [OT] Current students apparently can't read Fortran code...Don Baccus
|| |`* Re: [OT] Current students apparently can't read Fortran code...Arne Vajhøj
|| | `* Re: [OT] Current students apparently can't read Fortran code...Dan Cross
|| |  `* Re: [OT] Current students apparently can't read Fortran code...Arne Vajhøj
|| |   +* Re: [OT] Current students apparently can't read Fortran code...Dan Cross
|| |   |+- Re: [OT] Current students apparently can't read Fortran code...Don Baccus
|| |   |`* Re: [OT] Current students apparently can't read Fortran code...Arne Vajhøj
|| |   | `- Re: [OT] Current students apparently can't read Fortran code...Dan Cross
|| |   +* Re: [OT] Current students apparently can't read Fortran code...Don Baccus
|| |   |`* Re: [OT] Current students apparently can't read Fortran code...Arne Vajhøj
|| |   | `* Re: [OT] Current students apparently can't read Fortran code...Don Baccus
|| |   |  `* Re: [OT] Current students apparently can't read Fortran code...Arne Vajhøj
|| |   |   `- Re: [OT] Current students apparently can't read Fortran code...Don Baccus
|| |   `* Re: [OT] Current students apparently can't read Fortran code...gah4
|| |    `- Re: [OT] Current students apparently can't read Fortran code...Arne Vajhøj
|| `- Re: [OT] Current students apparently can't read Fortran code...Arne Vajhøj
|+* Re: [OT] Current students apparently can't read Fortran code...Bob Gezelter
||`* Re: [OT] Current students apparently can't read Fortran code...Craig A. Berry
|| +* Re: [OT] Current students apparently can't read Fortran code...Rich Alderson
|| |`* Re: [OT] Current students apparently can't read Fortran code...Bill Gunshannon
|| | `* Re: [OT] Current students apparently can't read Fortran code...Rich Alderson
|| |  `* Re: [OT] Current students apparently can't read Fortran code...Bill Gunshannon
|| |   `- Re: [OT] Current students apparently can't read Fortran code...gah4
|| +* Re: [OT] Current students apparently can't read Fortran code...Arne Vajhøj
|| |`* Re: [OT] Current students apparently can't read Fortran code...Craig A. Berry
|| | `* Re: [OT] Current students apparently can't read Fortran code...Bill Gunshannon
|| |  `- Re: [OT] Current students apparently can't read Fortran code...David Jones
|| `- Re: [OT] Current students apparently can't read Fortran code...gah4
|`* Re: [OT] Current students apparently can't read Fortran code...Dave Froble
| +- Re: [OT] Current students apparently can't read Fortran code...David Jones
| +- Re: [OT] Current students apparently can't read Fortran code...Arne Vajhøj
| `- Re: [OT] Current students apparently can't read Fortran code...Scott Dorsey
+* Re: [OT] Current students apparently can't read Fortran code...Bob Gezelter
|`* Re: [OT] Current students apparently can't read Fortran code...Bill Gunshannon
| `- Re: [OT] Current students apparently can't read Fortran code...Dan Cross
`- Re: [OT] Current students apparently can't read Fortran code...gah4

Pages:12
[OT] Current students apparently can't read Fortran code...

<t37anb$937$1@dont-email.me>

  copy mid

https://www.novabbs.com/computers/article-flat.php?id=21999&group=comp.os.vms#21999

  copy link   Newsgroups: comp.os.vms
Path: i2pn2.org!i2pn.org!eternal-september.org!reader02.eternal-september.org!.POSTED!not-for-mail
From: club...@remove_me.eisner.decus.org-Earth.UFP (Simon Clubley)
Newsgroups: comp.os.vms
Subject: [OT] Current students apparently can't read Fortran code...
Date: Wed, 13 Apr 2022 20:10:19 -0000 (UTC)
Organization: A noiseless patient Spider
Lines: 20
Message-ID: <t37anb$937$1@dont-email.me>
Injection-Date: Wed, 13 Apr 2022 20:10:19 -0000 (UTC)
Injection-Info: reader02.eternal-september.org; posting-host="695020543a52d78e7a7c7400b4f5ba91";
logging-data="9319"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX19HG8aoFfVu04SnASbRe14AWbkUISgZS+4="
User-Agent: slrn/0.9.8.1 (VMS/Multinet)
Cancel-Lock: sha1:YKThGox4H/yyA5MiSxm7JccDzVo=
 by: Simon Clubley - Wed, 13 Apr 2022 20:10 UTC

From https://www.theregister.com/2022/04/13/climate_mit_fortran/

|CLiMA made the determination that old climate models, many of which were
|built 50 years ago and coded in Fortran, had to go if there was going to be
|any progress toward better climate models. Now that he's working at MIT on
|the CGC project, he's realized that "traditional climate models are in a
|language [MIT] students can't even read."

Can't read the latest symbol-based (instead of word-based) language
without lots of study ? Ok, that's a fair thing to say.

But Fortran ??? Wow.

(And this is MIT!).

Simon.

--
Simon Clubley, clubley@remove_me.eisner.decus.org-Earth.UFP
Walking destinations on a map are further away than they appear.

Re: [OT] Current students apparently can't read Fortran code...

<t37hqn$psf$1@tncsrv09.home.tnetconsulting.net>

  copy mid

https://www.novabbs.com/computers/article-flat.php?id=22000&group=comp.os.vms#22000

  copy link   Newsgroups: comp.os.vms
Path: i2pn2.org!i2pn.org!weretis.net!feeder6.news.weretis.net!tncsrv06.tnetconsulting.net!tncsrv09.home.tnetconsulting.net!.POSTED.alpha.home.tnetconsulting.net!not-for-mail
From: gtay...@tnetconsulting.net (Grant Taylor)
Newsgroups: comp.os.vms
Subject: Re: [OT] Current students apparently can't read Fortran code...
Date: Wed, 13 Apr 2022 16:12:10 -0600
Organization: TNet Consulting
Message-ID: <t37hqn$psf$1@tncsrv09.home.tnetconsulting.net>
References: <t37anb$937$1@dont-email.me>
Mime-Version: 1.0
Content-Type: text/plain; charset=utf-8; format=flowed
Content-Transfer-Encoding: 7bit
Injection-Date: Wed, 13 Apr 2022 22:11:35 -0000 (UTC)
Injection-Info: tncsrv09.home.tnetconsulting.net; posting-host="alpha.home.tnetconsulting.net:198.18.18.251";
logging-data="26511"; mail-complaints-to="newsmaster@tnetconsulting.net"
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101
Thunderbird/78.13.0
In-Reply-To: <t37anb$937$1@dont-email.me>
Content-Language: en-US
 by: Grant Taylor - Wed, 13 Apr 2022 22:12 UTC

On 4/13/22 2:10 PM, Simon Clubley wrote:
> Can't read the latest symbol-based (instead of word-based) language
> without lots of study ? Ok, that's a fair thing to say.

There are a lot of things that can't be done at one point in time or
another. The trick is to learn them so that you can do them.

I can see how / why an older long out of vogue language can't be read by
newer / younger people. But that ignorance, as in lack of knowledge,
doesn't preclude people from learning.

There is a point in every person's life when they can't read their
native language. They must learn it. This is the natural order of things.

> But Fortran ??? Wow.

~shrug~ out of vogue language

--
Grant. . . .
unix || die

Re: [OT] Current students apparently can't read Fortran code...

<jbp1ldFcjldU1@mid.individual.net>

  copy mid

https://www.novabbs.com/computers/article-flat.php?id=22001&group=comp.os.vms#22001

  copy link   Newsgroups: comp.os.vms
Path: i2pn2.org!i2pn.org!news.swapon.de!fu-berlin.de!uni-berlin.de!individual.net!not-for-mail
From: bill.gun...@gmail.com (Bill Gunshannon)
Newsgroups: comp.os.vms
Subject: Re: [OT] Current students apparently can't read Fortran code...
Date: Wed, 13 Apr 2022 18:37:32 -0400
Lines: 27
Message-ID: <jbp1ldFcjldU1@mid.individual.net>
References: <t37anb$937$1@dont-email.me>
<t37hqn$psf$1@tncsrv09.home.tnetconsulting.net>
Mime-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 8bit
X-Trace: individual.net Xy9iXW4NOhVW+mWu35XdbwV38cqjYCNhgpU1arSW0aEVOzPCCI
Cancel-Lock: sha1:tlJloQhLbLxnBXmvszh7ORfZLnY=
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101
Thunderbird/91.7.0
Content-Language: en-US
In-Reply-To: <t37hqn$psf$1@tncsrv09.home.tnetconsulting.net>
 by: Bill Gunshannon - Wed, 13 Apr 2022 22:37 UTC

On 4/13/22 18:12, Grant Taylor wrote:
> On 4/13/22 2:10 PM, Simon Clubley wrote:
>> Can't read the latest symbol-based (instead of word-based) language
>> without lots of study ? Ok, that's a fair thing to say.
>
> There are a lot of things that can't be done at one point in time or
> another.  The trick is to learn them so that you can do them.
>
> I can see how / why an older long out of vogue language can't be read by
> newer / younger people.  But that ignorance, as in lack of knowledge,
> doesn't preclude people from learning.
>
> There is a point in every person's life when they can't read their
> native language.  They must learn it.  This is the natural order of things.
>
>> But Fortran ??? Wow.
>
> ~shrug~  out of vogue language

I would be more inclined to think the story is bs. Fortran is a
trivial language. Took me all of about three days to learn it
(on an IBM Mainframe) back in 1980. You might not be able to
understand the task being done but the flow and function of the
the program would not be difficult.

bill

Re: [OT] Current students apparently can't read Fortran code...

<t37kup$nic$1@dont-email.me>

  copy mid

https://www.novabbs.com/computers/article-flat.php?id=22003&group=comp.os.vms#22003

  copy link   Newsgroups: comp.os.vms
Path: i2pn2.org!i2pn.org!eternal-september.org!reader02.eternal-september.org!.POSTED!not-for-mail
From: craigbe...@nospam.mac.com (Craig A. Berry)
Newsgroups: comp.os.vms
Subject: Re: [OT] Current students apparently can't read Fortran code...
Date: Wed, 13 Apr 2022 18:04:55 -0500
Organization: A noiseless patient Spider
Lines: 24
Message-ID: <t37kup$nic$1@dont-email.me>
References: <t37anb$937$1@dont-email.me>
Mime-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit
Injection-Date: Wed, 13 Apr 2022 23:04:57 -0000 (UTC)
Injection-Info: reader02.eternal-september.org; posting-host="46fab0ee17f095522074eb81a93db071";
logging-data="24140"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX18WBfTMXA2a2A+rekWwl80xE1gfS8UQit4="
User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:91.0)
Gecko/20100101 Thunderbird/91.8.0
Cancel-Lock: sha1:XnjaTNgtlLHBrcISPLA/MIn5eRg=
In-Reply-To: <t37anb$937$1@dont-email.me>
Content-Language: en-US
 by: Craig A. Berry - Wed, 13 Apr 2022 23:04 UTC

On 4/13/22 3:10 PM, Simon Clubley wrote:
> From https://www.theregister.com/2022/04/13/climate_mit_fortran/
>
> |CLiMA made the determination that old climate models, many of which were
> |built 50 years ago and coded in Fortran, had to go if there was going to be
> |any progress toward better climate models. Now that he's working at MIT on
> |the CGC project, he's realized that "traditional climate models are in a
> |language [MIT] students can't even read."
>
> Can't read the latest symbol-based (instead of word-based) language
> without lots of study ? Ok, that's a fair thing to say.
>
> But Fortran ??? Wow.

Um, the code written in the 1960s and 1970s as mentioned in the article
was probably not Fortran 77 or even Fortran 66. Unless I'm in a Star
Trek episode and 1977 actually came before the 1960s and most of the
1970s. Fortran IV was limited to 6-character identifiers and used
Hollerith constants. Functions and subroutines were not available so you
would tend to see programs tens of thousands of lines long with GOTO all
over the place. It was unreadable to me when learning VAX Fortran in
1983, so I can sympathize with someone who knows C++ or Java trying to
make sense of it now.

Re: [OT] Current students apparently can't read Fortran code...

<625759aa$0$683$14726298@news.sunsite.dk>

  copy mid

https://www.novabbs.com/computers/article-flat.php?id=22004&group=comp.os.vms#22004

  copy link   Newsgroups: comp.os.vms
Path: i2pn2.org!i2pn.org!aioe.org!news.uzoreto.com!dotsrc.org!filter.dotsrc.org!news.dotsrc.org!not-for-mail
Date: Wed, 13 Apr 2022 19:15:51 -0400
MIME-Version: 1.0
User-Agent: Mozilla/5.0 (Windows NT 6.1; Win64; x64; rv:91.0) Gecko/20100101
Thunderbird/91.8.0
Subject: Re: [OT] Current students apparently can't read Fortran code...
Content-Language: en-US
Newsgroups: comp.os.vms
References: <t37anb$937$1@dont-email.me>
<t37hqn$psf$1@tncsrv09.home.tnetconsulting.net>
<jbp1ldFcjldU1@mid.individual.net>
From: arn...@vajhoej.dk (Arne Vajhøj)
In-Reply-To: <jbp1ldFcjldU1@mid.individual.net>
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 8bit
Lines: 49
Message-ID: <625759aa$0$683$14726298@news.sunsite.dk>
Organization: SunSITE.dk - Supporting Open source
NNTP-Posting-Host: 42423b96.news.sunsite.dk
X-Trace: 1649891754 news.sunsite.dk 683 arne@vajhoej.dk/68.9.63.232:59143
X-Complaints-To: staff@sunsite.dk
 by: Arne Vajhøj - Wed, 13 Apr 2022 23:15 UTC

On 4/13/2022 6:37 PM, Bill Gunshannon wrote:
> On 4/13/22 18:12, Grant Taylor wrote:
>> On 4/13/22 2:10 PM, Simon Clubley wrote:
>>> Can't read the latest symbol-based (instead of word-based) language
>>> without lots of study ? Ok, that's a fair thing to say.
>>
>> There are a lot of things that can't be done at one point in time or
>> another.  The trick is to learn them so that you can do them.
>>
>> I can see how / why an older long out of vogue language can't be read
>> by newer / younger people.  But that ignorance, as in lack of
>> knowledge, doesn't preclude people from learning.
>>
>> There is a point in every person's life when they can't read their
>> native language.  They must learn it.  This is the natural order of
>> things.
>>
>>> But Fortran ??? Wow.
>>
>> ~shrug~  out of vogue language
>
> I would be more inclined to think the story is bs.  Fortran is a
> trivial language. Took me all of about three days to learn it
> (on an IBM Mainframe) back in 1980.  You might not be able to
> understand the task being done but the flow and function of the
> the program would not be difficult.

I agree.

If the code is actually very old then it must be Fortran
77 or 66.

If someone can program aka understand at least one
static typed compiled language *and* understand the
math behind it then they should be able to read the
code just fine.

Writing new code may require a little training.

And newer Fortran can be a lot more complex.

But as described it should be very readable.

Interesting though that they picked Julia. Many
sees it as an upcoming language for stuff like this,
but it is still a rather bold choice.

Arne

Re: [OT] Current students apparently can't read Fortran code...

<62575ae1$0$682$14726298@news.sunsite.dk>

  copy mid

https://www.novabbs.com/computers/article-flat.php?id=22005&group=comp.os.vms#22005

  copy link   Newsgroups: comp.os.vms
Path: i2pn2.org!i2pn.org!usenet.goja.nl.eu.org!dotsrc.org!filter.dotsrc.org!news.dotsrc.org!not-for-mail
Date: Wed, 13 Apr 2022 19:21:02 -0400
MIME-Version: 1.0
User-Agent: Mozilla/5.0 (Windows NT 6.1; Win64; x64; rv:91.0) Gecko/20100101
Thunderbird/91.8.0
Subject: Re: [OT] Current students apparently can't read Fortran code...
Content-Language: en-US
Newsgroups: comp.os.vms
References: <t37anb$937$1@dont-email.me> <t37kup$nic$1@dont-email.me>
From: arn...@vajhoej.dk (Arne Vajhøj)
In-Reply-To: <t37kup$nic$1@dont-email.me>
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 8bit
Lines: 41
Message-ID: <62575ae1$0$682$14726298@news.sunsite.dk>
Organization: SunSITE.dk - Supporting Open source
NNTP-Posting-Host: 42423b96.news.sunsite.dk
X-Trace: 1649892065 news.sunsite.dk 682 arne@vajhoej.dk/68.9.63.232:59291
X-Complaints-To: staff@sunsite.dk
 by: Arne Vajhøj - Wed, 13 Apr 2022 23:21 UTC

On 4/13/2022 7:04 PM, Craig A. Berry wrote:
>
> On 4/13/22 3:10 PM, Simon Clubley wrote:
>>  From https://www.theregister.com/2022/04/13/climate_mit_fortran/
>>
>> |CLiMA made the determination that old climate models, many of which were
>> |built 50 years ago and coded in Fortran, had to go if there was going
>> to be
>> |any progress toward better climate models. Now that he's working at
>> MIT on
>> |the CGC project, he's realized that "traditional climate models are in a
>> |language [MIT] students can't even read."
>>
>> Can't read the latest symbol-based (instead of word-based) language
>> without lots of study ? Ok, that's a fair thing to say.
>>
>> But Fortran ??? Wow.
>
> Um, the code written in the 1960s and 1970s as mentioned in the article
> was probably not Fortran 77 or even Fortran 66.  Unless I'm in a Star
> Trek episode and 1977 actually came before the 1960s and most of the
> 1970s.  Fortran IV was limited to 6-character identifiers and used
> Hollerith constants. Functions and subroutines were not available so you
> would tend to see programs tens of thousands of lines long with GOTO all
> over the place.  It was unreadable to me when learning VAX Fortran in
> 1983, so I can sympathize with someone who knows C++ or Java trying to
> make sense of it now.

Fortran 66 was available for most of that period.

Fortran IV is mostly the same as Fortran 66.

And functions and subroutines was (per public sources - before
my time) added in Fortran II in 1958.

So not quite as bad.

Anything text sucked big time in Fortran IV/66 but climate
model should not be impacted by that.

Arne

Re: [OT] Current students apparently can't read Fortran code...

<81de88d5-17d1-46e4-af39-0cfa88ea9fbcn@googlegroups.com>

  copy mid

https://www.novabbs.com/computers/article-flat.php?id=22008&group=comp.os.vms#22008

  copy link   Newsgroups: comp.os.vms
X-Received: by 2002:a05:620a:1598:b0:69c:7474:245f with SMTP id d24-20020a05620a159800b0069c7474245fmr32506qkk.561.1649893895131;
Wed, 13 Apr 2022 16:51:35 -0700 (PDT)
X-Received: by 2002:ad4:5769:0:b0:446:2381:51cf with SMTP id
r9-20020ad45769000000b00446238151cfmr311928qvx.33.1649893894948; Wed, 13 Apr
2022 16:51:34 -0700 (PDT)
Path: i2pn2.org!i2pn.org!weretis.net!feeder6.news.weretis.net!1.us.feeder.erje.net!feeder.erje.net!border1.nntp.dca1.giganews.com!nntp.giganews.com!news-out.google.com!nntp.google.com!postnews.google.com!google-groups.googlegroups.com!not-for-mail
Newsgroups: comp.os.vms
Date: Wed, 13 Apr 2022 16:51:34 -0700 (PDT)
In-Reply-To: <t37anb$937$1@dont-email.me>
Injection-Info: google-groups.googlegroups.com; posting-host=100.2.113.217; posting-account=r2_qcwoAAACbIdit5Eka3ivGvrYZz7UQ
NNTP-Posting-Host: 100.2.113.217
References: <t37anb$937$1@dont-email.me>
User-Agent: G2/1.0
MIME-Version: 1.0
Message-ID: <81de88d5-17d1-46e4-af39-0cfa88ea9fbcn@googlegroups.com>
Subject: Re: [OT] Current students apparently can't read Fortran code...
From: gezel...@rlgsc.com (Bob Gezelter)
Injection-Date: Wed, 13 Apr 2022 23:51:35 +0000
Content-Type: text/plain; charset="UTF-8"
Lines: 33
 by: Bob Gezelter - Wed, 13 Apr 2022 23:51 UTC

On Wednesday, April 13, 2022 at 4:10:22 PM UTC-4, Simon Clubley wrote:
> From https://www.theregister.com/2022/04/13/climate_mit_fortran/
>
> |CLiMA made the determination that old climate models, many of which were
> |built 50 years ago and coded in Fortran, had to go if there was going to be
> |any progress toward better climate models. Now that he's working at MIT on
> |the CGC project, he's realized that "traditional climate models are in a
> |language [MIT] students can't even read."
>
> Can't read the latest symbol-based (instead of word-based) language
> without lots of study ? Ok, that's a fair thing to say.
>
> But Fortran ??? Wow.
>
> (And this is MIT!).
>
> Simon.
> , b
> --
> Simon Clubley, clubley@remove_me.eisner.decus.org-Earth.UFP
> Walking destinations on a map are further away than they appear.
Simon,

I agree wholeheartedly with Bill.

FORTRAN, specifically ANSI FORTRAN-66/77 is a very simple language to lean by present standards.

If the story is not total BS, particularly from MIT students, it is a source of despair.

Today, it is no problem to do a module by module rewrite of FORTRAN into C. Frankly, it has not been a serious difficulty since the time of the original VAX FORTRAN, nearly a half century ago.

I would suggest they contact someone who is familiar with the subject matter.

- Bob Gezelter, http://www.rlgsc.com

Re: [OT] Current students apparently can't read Fortran code...

<19df1ef7-d782-491f-b105-3e941194db91n@googlegroups.com>

  copy mid

https://www.novabbs.com/computers/article-flat.php?id=22009&group=comp.os.vms#22009

  copy link   Newsgroups: comp.os.vms
X-Received: by 2002:ac8:5654:0:b0:2f1:d65b:1b23 with SMTP id 20-20020ac85654000000b002f1d65b1b23mr11658qtt.58.1649894062064; Wed, 13 Apr 2022 16:54:22 -0700 (PDT)
X-Received: by 2002:ac8:7cbc:0:b0:2ef:bdc6:9f5a with SMTP id z28-20020ac87cbc000000b002efbdc69f5amr9053415qtv.139.1649894061908; Wed, 13 Apr 2022 16:54:21 -0700 (PDT)
Path: i2pn2.org!i2pn.org!aioe.org!feeder1.feed.usenet.farm!feed.usenet.farm!tr2.eu1.usenetexpress.com!feeder.usenetexpress.com!tr2.iad1.usenetexpress.com!border1.nntp.dca1.giganews.com!nntp.giganews.com!news-out.google.com!nntp.google.com!postnews.google.com!google-groups.googlegroups.com!not-for-mail
Newsgroups: comp.os.vms
Date: Wed, 13 Apr 2022 16:54:21 -0700 (PDT)
In-Reply-To: <t37kup$nic$1@dont-email.me>
Injection-Info: google-groups.googlegroups.com; posting-host=100.2.113.217; posting-account=r2_qcwoAAACbIdit5Eka3ivGvrYZz7UQ
NNTP-Posting-Host: 100.2.113.217
References: <t37anb$937$1@dont-email.me> <t37kup$nic$1@dont-email.me>
User-Agent: G2/1.0
MIME-Version: 1.0
Message-ID: <19df1ef7-d782-491f-b105-3e941194db91n@googlegroups.com>
Subject: Re: [OT] Current students apparently can't read Fortran code...
From: gezel...@rlgsc.com (Bob Gezelter)
Injection-Date: Wed, 13 Apr 2022 23:54:22 +0000
Content-Type: text/plain; charset="UTF-8"
Lines: 29
 by: Bob Gezelter - Wed, 13 Apr 2022 23:54 UTC

On Wednesday, April 13, 2022 at 7:05:00 PM UTC-4, Craig A. Berry wrote:
> On 4/13/22 3:10 PM, Simon Clubley wrote:
> > From https://www.theregister.com/2022/04/13/climate_mit_fortran/
> >
> > |CLiMA made the determination that old climate models, many of which were
> > |built 50 years ago and coded in Fortran, had to go if there was going to be
> > |any progress toward better climate models. Now that he's working at MIT on
> > |the CGC project, he's realized that "traditional climate models are in a
> > |language [MIT] students can't even read."
> >
> > Can't read the latest symbol-based (instead of word-based) language
> > without lots of study ? Ok, that's a fair thing to say.
> >
> > But Fortran ??? Wow.
> Um, the code written in the 1960s and 1970s as mentioned in the article
> was probably not Fortran 77 or even Fortran 66. Unless I'm in a Star
> Trek episode and 1977 actually came before the 1960s and most of the
> 1970s. Fortran IV was limited to 6-character identifiers and used
> Hollerith constants. Functions and subroutines were not available so you
> would tend to see programs tens of thousands of lines long with GOTO all
> over the place. It was unreadable to me when learning VAX Fortran in
> 1983, so I can sympathize with someone who knows C++ or Java trying to
> make sense of it now.
Craig,

FORTRAN II (IBM 1620, circa 1960, 20K digits of storage) had full subroutines and functions.

Admittedly, many of these codes were not written to modern engineering standards, but one can decode them. Been there, done that (both in modern times, and when I was an undergraduate).

- Bob Gezelter, http://www.rlgsc.com

Re: [OT] Current students apparently can't read Fortran code...

<t37rd9$tck$1@dont-email.me>

  copy mid

https://www.novabbs.com/computers/article-flat.php?id=22013&group=comp.os.vms#22013

  copy link   Newsgroups: comp.os.vms
Path: i2pn2.org!i2pn.org!eternal-september.org!reader02.eternal-september.org!.POSTED!not-for-mail
From: dav...@tsoft-inc.com (Dave Froble)
Newsgroups: comp.os.vms
Subject: Re: [OT] Current students apparently can't read Fortran code...
Date: Wed, 13 Apr 2022 20:55:12 -0400
Organization: A noiseless patient Spider
Lines: 37
Message-ID: <t37rd9$tck$1@dont-email.me>
References: <t37anb$937$1@dont-email.me> <t37kup$nic$1@dont-email.me>
Mime-Version: 1.0
Content-Type: text/plain; charset=utf-8; format=flowed
Content-Transfer-Encoding: 7bit
Injection-Date: Thu, 14 Apr 2022 00:55:05 -0000 (UTC)
Injection-Info: reader02.eternal-september.org; posting-host="1dde1ce855555e4f0c277493bb41f509";
logging-data="30100"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX184EUuWuCs7HZX9STx8Ad/z4jaNXmmBkC0="
User-Agent: Mozilla/5.0 (Windows NT 5.1; rv:45.0) Gecko/20100101
Thunderbird/45.8.0
Cancel-Lock: sha1://Toc64tqXeKjKZS78tRmyWsIR8=
In-Reply-To: <t37kup$nic$1@dont-email.me>
 by: Dave Froble - Thu, 14 Apr 2022 00:55 UTC

On 4/13/2022 7:04 PM, Craig A. Berry wrote:
>
> On 4/13/22 3:10 PM, Simon Clubley wrote:
>> From https://www.theregister.com/2022/04/13/climate_mit_fortran/
>>
>> |CLiMA made the determination that old climate models, many of which were
>> |built 50 years ago and coded in Fortran, had to go if there was going to be
>> |any progress toward better climate models. Now that he's working at MIT on
>> |the CGC project, he's realized that "traditional climate models are in a
>> |language [MIT] students can't even read."
>>
>> Can't read the latest symbol-based (instead of word-based) language
>> without lots of study ? Ok, that's a fair thing to say.
>>
>> But Fortran ??? Wow.
>
> Um, the code written in the 1960s and 1970s as mentioned in the article
> was probably not Fortran 77 or even Fortran 66. Unless I'm in a Star
> Trek episode and 1977 actually came before the 1960s and most of the
> 1970s. Fortran IV was limited to 6-character identifiers and used
> Hollerith constants. Functions and subroutines were not available so you
> would tend to see programs tens of thousands of lines long with GOTO all
> over the place. It was unreadable to me when learning VAX Fortran in
> 1983, so I can sympathize with someone who knows C++ or Java trying to
> make sense of it now.

What's so hard about GOTo?

Yeah, it can produce disgusting code, but the is a difference between "able to
read" and "able to follow".

--
David Froble Tel: 724-529-0450
Dave Froble Enterprises, Inc. E-Mail: davef@tsoft-inc.com
DFE Ultralights, Inc.
170 Grimplin Road
Vanderbilt, PA 15486

Re: [OT] Current students apparently can't read Fortran code...

<06ce8c2d-dd85-410c-9cd6-3f133424d1fdn@googlegroups.com>

  copy mid

https://www.novabbs.com/computers/article-flat.php?id=22018&group=comp.os.vms#22018

  copy link   Newsgroups: comp.os.vms
X-Received: by 2002:a37:f50b:0:b0:680:d577:baf6 with SMTP id l11-20020a37f50b000000b00680d577baf6mr259750qkk.328.1649899096526;
Wed, 13 Apr 2022 18:18:16 -0700 (PDT)
X-Received: by 2002:a37:89c7:0:b0:69a:121b:9256 with SMTP id
l190-20020a3789c7000000b0069a121b9256mr269579qkd.218.1649899096384; Wed, 13
Apr 2022 18:18:16 -0700 (PDT)
Path: i2pn2.org!i2pn.org!weretis.net!feeder6.news.weretis.net!news.misty.com!border2.nntp.dca1.giganews.com!nntp.giganews.com!news-out.google.com!nntp.google.com!postnews.google.com!google-groups.googlegroups.com!not-for-mail
Newsgroups: comp.os.vms
Date: Wed, 13 Apr 2022 18:18:16 -0700 (PDT)
In-Reply-To: <t37anb$937$1@dont-email.me>
Injection-Info: google-groups.googlegroups.com; posting-host=2601:602:9700:4689:6ccb:bd0c:448:c72c;
posting-account=gLDX1AkAAAA26M5HM-O3sVMAXdxK9FPA
NNTP-Posting-Host: 2601:602:9700:4689:6ccb:bd0c:448:c72c
References: <t37anb$937$1@dont-email.me>
User-Agent: G2/1.0
MIME-Version: 1.0
Message-ID: <06ce8c2d-dd85-410c-9cd6-3f133424d1fdn@googlegroups.com>
Subject: Re: [OT] Current students apparently can't read Fortran code...
From: gah...@u.washington.edu (gah4)
Injection-Date: Thu, 14 Apr 2022 01:18:16 +0000
Content-Type: text/plain; charset="UTF-8"
Lines: 13
 by: gah4 - Thu, 14 Apr 2022 01:18 UTC

On Wednesday, April 13, 2022 at 1:10:22 PM UTC-7, Simon Clubley wrote:
> From https://www.theregister.com/2022/04/13/climate_mit_fortran/
>
> |CLiMA made the determination that old climate models, many of which were
> |built 50 years ago and coded in Fortran, had to go if there was going to be
> |any progress toward better climate models. Now that he's working at MIT on
> |the CGC project, he's realized that "traditional climate models are in a
> |language [MIT] students can't even read."

I can believe that they can't write it, but it isn't all that hard to read, or learn to read.

There have been languages over the years that I knew I could read, but didn't (yet)
know well enough to write.

Re: [OT] Current students apparently can't read Fortran code...

<3053fc96-d85d-418b-b1e9-a4e8df00f1cbn@googlegroups.com>

  copy mid

https://www.novabbs.com/computers/article-flat.php?id=22019&group=comp.os.vms#22019

  copy link   Newsgroups: comp.os.vms
X-Received: by 2002:a05:622a:6201:b0:2f1:d669:5ee9 with SMTP id hj1-20020a05622a620100b002f1d6695ee9mr206376qtb.190.1649899593056;
Wed, 13 Apr 2022 18:26:33 -0700 (PDT)
X-Received: by 2002:a37:2f45:0:b0:69c:f34:d9b5 with SMTP id
v66-20020a372f45000000b0069c0f34d9b5mr272135qkh.68.1649899592892; Wed, 13 Apr
2022 18:26:32 -0700 (PDT)
Path: i2pn2.org!i2pn.org!weretis.net!feeder6.news.weretis.net!news.misty.com!border2.nntp.dca1.giganews.com!nntp.giganews.com!news-out.google.com!nntp.google.com!postnews.google.com!google-groups.googlegroups.com!not-for-mail
Newsgroups: comp.os.vms
Date: Wed, 13 Apr 2022 18:26:32 -0700 (PDT)
In-Reply-To: <t37rd9$tck$1@dont-email.me>
Injection-Info: google-groups.googlegroups.com; posting-host=74.140.8.188; posting-account=CO-_tAoAAACjjs2KLAw3xVKCy6Z_J3VK
NNTP-Posting-Host: 74.140.8.188
References: <t37anb$937$1@dont-email.me> <t37kup$nic$1@dont-email.me> <t37rd9$tck$1@dont-email.me>
User-Agent: G2/1.0
MIME-Version: 1.0
Message-ID: <3053fc96-d85d-418b-b1e9-a4e8df00f1cbn@googlegroups.com>
Subject: Re: [OT] Current students apparently can't read Fortran code...
From: osuvma...@gmail.com (David Jones)
Injection-Date: Thu, 14 Apr 2022 01:26:33 +0000
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
Lines: 8
 by: David Jones - Thu, 14 Apr 2022 01:26 UTC

Old Fortran has oddities like arithmetic ifs and computed gotos (I was told logical IFs didn't show up until IV). My roommate is college had a cursory knowledge of Fortran from his engineering classes, but had never heard of equivalence statements. I got flummoxed the first (and only) time I encountered alternate return points in a function call. They are as nasty as assigned gotos.

I helped a co-worker once suss out the character manipulation being done Fortran on a CDC machine (10 6-bit characters stuffed into a 60 bit word).

Re: [OT] Current students apparently can't read Fortran code...

<t37taq$9f6$1@dont-email.me>

  copy mid

https://www.novabbs.com/computers/article-flat.php?id=22020&group=comp.os.vms#22020

  copy link   Newsgroups: comp.os.vms
Path: i2pn2.org!i2pn.org!eternal-september.org!reader02.eternal-september.org!.POSTED!not-for-mail
From: craigbe...@nospam.mac.com (Craig A. Berry)
Newsgroups: comp.os.vms
Subject: Re: [OT] Current students apparently can't read Fortran code...
Date: Wed, 13 Apr 2022 20:27:52 -0500
Organization: A noiseless patient Spider
Lines: 40
Message-ID: <t37taq$9f6$1@dont-email.me>
References: <t37anb$937$1@dont-email.me> <t37kup$nic$1@dont-email.me>
<19df1ef7-d782-491f-b105-3e941194db91n@googlegroups.com>
Mime-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit
Injection-Date: Thu, 14 Apr 2022 01:27:54 -0000 (UTC)
Injection-Info: reader02.eternal-september.org; posting-host="46fab0ee17f095522074eb81a93db071";
logging-data="9702"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX196Fudsr5fTe2H4MtzyFn9U1OzuR/cRTyw="
User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:91.0)
Gecko/20100101 Thunderbird/91.8.0
Cancel-Lock: sha1:3jZttF5n2/t7QHmDg5N48ba3J60=
In-Reply-To: <19df1ef7-d782-491f-b105-3e941194db91n@googlegroups.com>
Content-Language: en-US
 by: Craig A. Berry - Thu, 14 Apr 2022 01:27 UTC

On 4/13/22 6:54 PM, Bob Gezelter wrote:
> On Wednesday, April 13, 2022 at 7:05:00 PM UTC-4, Craig A. Berry wrote:
>> On 4/13/22 3:10 PM, Simon Clubley wrote:
>>> From https://www.theregister.com/2022/04/13/climate_mit_fortran/
>>>
>>> |CLiMA made the determination that old climate models, many of which were
>>> |built 50 years ago and coded in Fortran, had to go if there was going to be
>>> |any progress toward better climate models. Now that he's working at MIT on
>>> |the CGC project, he's realized that "traditional climate models are in a
>>> |language [MIT] students can't even read."
>>>
>>> Can't read the latest symbol-based (instead of word-based) language
>>> without lots of study ? Ok, that's a fair thing to say.
>>>
>>> But Fortran ??? Wow.
>> Um, the code written in the 1960s and 1970s as mentioned in the article
>> was probably not Fortran 77 or even Fortran 66. Unless I'm in a Star
>> Trek episode and 1977 actually came before the 1960s and most of the
>> 1970s. Fortran IV was limited to 6-character identifiers and used
>> Hollerith constants. Functions and subroutines were not available so you
>> would tend to see programs tens of thousands of lines long with GOTO all
>> over the place. It was unreadable to me when learning VAX Fortran in
>> 1983, so I can sympathize with someone who knows C++ or Java trying to
>> make sense of it now.
> Craig,
>
> FORTRAN II (IBM 1620, circa 1960, 20K digits of storage) had full subroutines and functions.

OK. I read the Wikipedia article wrong, specifically with regard to
functions and subroutines. The fact they had them doesn't mean they
were used.

> Admittedly, many of these codes were not written to modern
> engineering standards, but one can decode them. Been there, done that (both in
> modern times, and when I was an undergraduate).

Right. And of course you can decode a 40,000-line program with no
comments and 6-digit identifiers. But it's work. Arguably not worth
the effort 10 years after they were written, much less 50.

Re: [OT] Current students apparently can't read Fortran code...

<t37uia$fl4$1@gioia.aioe.org>

  copy mid

https://www.novabbs.com/computers/article-flat.php?id=22024&group=comp.os.vms#22024

  copy link   Newsgroups: comp.os.vms
Path: i2pn2.org!i2pn.org!aioe.org!/ReFBvBOC/0j4ziiar0/qg.user.46.165.242.75.POSTED!not-for-mail
From: no_em...@invalid.invalid (Galen)
Newsgroups: comp.os.vms
Subject: Re: [OT] Current students apparently can't read Fortran code...
Date: Thu, 14 Apr 2022 01:48:58 -0000 (UTC)
Organization: Aioe.org NNTP Server
Message-ID: <t37uia$fl4$1@gioia.aioe.org>
References: <t37anb$937$1@dont-email.me>
<t37kup$nic$1@dont-email.me>
<62575ae1$0$682$14726298@news.sunsite.dk>
Mime-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
Injection-Info: gioia.aioe.org; logging-data="16036"; posting-host="/ReFBvBOC/0j4ziiar0/qg.user.gioia.aioe.org"; mail-complaints-to="abuse@aioe.org";
User-Agent: NewsTap/5.5 (iPad)
Cancel-Lock: sha1:XlfxpP4TrC8kl9DmEiWafC2TvSs=
X-Notice: Filtered by postfilter v. 0.9.2
 by: Galen - Thu, 14 Apr 2022 01:48 UTC

> Fortran 66 was available for most of that period.
>
> Fortran IV is mostly the same as Fortran 66.
>
> And functions and subroutines was (per public sources - before
> my time) added in Fortran II in 1958.
>
> So not quite as bad.
>
> Anything text sucked big time in Fortran IV/66 but climate
> model should not be impacted by that.
>

It’s possible that, just as today, “seasoned” (I.e. older, perhaps set in
their ways) programmers in the 1960’s and 1970’s may not have used
new-dangled features like IF/THEN/ELSE or more modern loop constructs. And
may actually have liked assigned or computed GOTOs, three-branch IF, etc.

Or they may have been constrained by out-of-date compilers on their
platforms.

Re: [OT] Current students apparently can't read Fortran code...

<mddwnfs4e3t.fsf@panix5.panix.com>

  copy mid

https://www.novabbs.com/computers/article-flat.php?id=22025&group=comp.os.vms#22025

  copy link   Newsgroups: comp.os.vms
Path: i2pn2.org!i2pn.org!weretis.net!feeder6.news.weretis.net!panix!.POSTED.panix5.panix.com!not-for-mail
From: new...@alderson.users.panix.com (Rich Alderson)
Newsgroups: comp.os.vms
Subject: Re: [OT] Current students apparently can't read Fortran code...
Date: 13 Apr 2022 22:01:58 -0400
Organization: PANIX Public Access Internet and UNIX, NYC
Lines: 29
Sender: alderson+news@panix5.panix.com
Message-ID: <mddwnfs4e3t.fsf@panix5.panix.com>
References: <t37anb$937$1@dont-email.me> <t37kup$nic$1@dont-email.me> <19df1ef7-d782-491f-b105-3e941194db91n@googlegroups.com> <t37taq$9f6$1@dont-email.me>
Injection-Info: reader1.panix.com; posting-host="panix5.panix.com:166.84.1.5";
logging-data="16581"; mail-complaints-to="abuse@panix.com"
X-Newsreader: Gnus v5.7/Emacs 22.3
 by: Rich Alderson - Thu, 14 Apr 2022 02:01 UTC

"Craig A. Berry" <craigberry@nospam.mac.com> writes:

> On 4/13/22 6:54 PM, Bob Gezelter wrote:

>> FORTRAN II (IBM 1620, circa 1960, 20K digits of storage) had full
>> subroutines and functions.

> OK. I read the Wikipedia article wrong, specifically with regard to
> functions and subroutines. The fact they had them doesn't mean they
> were used.

>> Admittedly, many of these codes were not written to modern engineering
>> standards, but one can decode them. Been there, done that (both in modern
>> times, and when I was an undergraduate).

> Right. And of course you can decode a 40,000-line program with no
> comments and 6-digit identifiers. But it's work. Arguably not worth
> the effort 10 years after they were written, much less 50.

FORTRAN IV was my first language, on an IBM 1401, in 1969. Functions and
subroutines were actively encouraged.

If you knew what you were talking about you might be dangerous.

--
Rich Alderson news@alderson.users.panix.com
Audendum est, et veritas investiganda; quam etiamsi non assequamur,
omnino tamen proprius, quam nunc sumus, ad eam perveniemus.
--Galen

Re: [OT] Current students apparently can't read Fortran code...

<5ff4d0bb-6787-40c8-b50a-8f3be11ec894n@googlegroups.com>

  copy mid

https://www.novabbs.com/computers/article-flat.php?id=22026&group=comp.os.vms#22026

  copy link   Newsgroups: comp.os.vms
X-Received: by 2002:a05:6214:1643:b0:42c:2865:d1e7 with SMTP id f3-20020a056214164300b0042c2865d1e7mr1527959qvw.52.1649901746761;
Wed, 13 Apr 2022 19:02:26 -0700 (PDT)
X-Received: by 2002:a05:620a:470f:b0:69c:2be1:5a3e with SMTP id
bs15-20020a05620a470f00b0069c2be15a3emr314284qkb.727.1649901746563; Wed, 13
Apr 2022 19:02:26 -0700 (PDT)
Path: i2pn2.org!i2pn.org!weretis.net!feeder6.news.weretis.net!news.misty.com!border2.nntp.dca1.giganews.com!nntp.giganews.com!news-out.google.com!nntp.google.com!postnews.google.com!google-groups.googlegroups.com!not-for-mail
Newsgroups: comp.os.vms
Date: Wed, 13 Apr 2022 19:02:26 -0700 (PDT)
In-Reply-To: <t37uia$fl4$1@gioia.aioe.org>
Injection-Info: google-groups.googlegroups.com; posting-host=2601:642:c301:502b:f05d:4825:7d0d:2e7e;
posting-account=a_gCewoAAAD0QiVN02iHDdQ3zIcCoJqL
NNTP-Posting-Host: 2601:642:c301:502b:f05d:4825:7d0d:2e7e
References: <t37anb$937$1@dont-email.me> <t37kup$nic$1@dont-email.me>
<62575ae1$0$682$14726298@news.sunsite.dk> <t37uia$fl4$1@gioia.aioe.org>
User-Agent: G2/1.0
MIME-Version: 1.0
Message-ID: <5ff4d0bb-6787-40c8-b50a-8f3be11ec894n@googlegroups.com>
Subject: Re: [OT] Current students apparently can't read Fortran code...
From: dhog...@gmail.com (Don Baccus)
Injection-Date: Thu, 14 Apr 2022 02:02:26 +0000
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
Lines: 47
 by: Don Baccus - Thu, 14 Apr 2022 02:02 UTC

On Wednesday, April 13, 2022 at 6:49:05 PM UTC-7, Galen wrote:
> > Fortran 66 was available for most of that period.
> >
> > Fortran IV is mostly the same as Fortran 66.
> >
> > And functions and subroutines was (per public sources - before
> > my time) added in Fortran II in 1958.
> >
> > So not quite as bad.
> >
> > Anything text sucked big time in Fortran IV/66 but climate
> > model should not be impacted by that.
> >
> It’s possible that, just as today, “seasoned” (I.e. older, perhaps set in
> their ways) programmers in the 1960’s and 1970’s may not have used
> new-dangled features like IF/THEN/ELSE or more modern loop constructs. And
> may actually have liked assigned or computed GOTOs, three-branch IF, etc.
>
> Or they may have been constrained by out-of-date compilers on their
> platforms.

Here's a statement from NASA GISS regarding Model E. Which has been open source for years, now, if you want to take a look. Conceptually like most such models they're simple, pave the earth with pizza boxes stacked about 20 high these days, IIRC. The pizza boxes shrink and the number of them that are stacked increase as supercomputers increase in power, improving resolution. Understanding the model physics is, ummm, a tad more complex :). Also some of that increasing power generally is devoted to more complex physical modeling which works against how many more pizza boxes you can have in your model in reasonable time.

Anyway, after a prologue pointing out that it has been around awhile:

"While much of the subsequent reworking of the model has led to a reduction in these historical influences, some parts of the model still hark back to the days of punch cards, FORTRAN 66 and line printer output. A charitable interpretation would be that while embracing the new (FORTRAN 90/95, multi-processing, netcdf, etc.), we endeavour to maintain some of the more harmless GISS traditions (which some might call eccentricities) in a spirit of continuity with those who have previously worked on the model. On the other hand, some of those early decisions (for instance regarding diagnostics, or conservation properties) turned out to be very far-sighted and are a principle reason why the GISS series of models continue to play a useful and important role in the world of GCM simulations."

Re: [OT] Current students apparently can't read Fortran code...

<6257836f$0$683$14726298@news.sunsite.dk>

  copy mid

https://www.novabbs.com/computers/article-flat.php?id=22028&group=comp.os.vms#22028

  copy link   Newsgroups: comp.os.vms
Path: i2pn2.org!i2pn.org!aioe.org!news.uzoreto.com!dotsrc.org!filter.dotsrc.org!news.dotsrc.org!not-for-mail
Date: Wed, 13 Apr 2022 22:14:09 -0400
MIME-Version: 1.0
User-Agent: Mozilla/5.0 (Windows NT 6.1; Win64; x64; rv:91.0) Gecko/20100101
Thunderbird/91.8.0
Subject: Re: [OT] Current students apparently can't read Fortran code...
Content-Language: en-US
Newsgroups: comp.os.vms
References: <t37anb$937$1@dont-email.me> <t37kup$nic$1@dont-email.me>
<t37rd9$tck$1@dont-email.me>
From: arn...@vajhoej.dk (Arne Vajhøj)
In-Reply-To: <t37rd9$tck$1@dont-email.me>
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 8bit
Lines: 42
Message-ID: <6257836f$0$683$14726298@news.sunsite.dk>
Organization: SunSITE.dk - Supporting Open source
NNTP-Posting-Host: 58e8dc8b.news.sunsite.dk
X-Trace: 1649902447 news.sunsite.dk 683 arne@vajhoej.dk/68.9.63.232:49365
X-Complaints-To: staff@sunsite.dk
 by: Arne Vajhøj - Thu, 14 Apr 2022 02:14 UTC

On 4/13/2022 8:55 PM, Dave Froble wrote:
> On 4/13/2022 7:04 PM, Craig A. Berry wrote:
>> On 4/13/22 3:10 PM, Simon Clubley wrote:
>>>  From https://www.theregister.com/2022/04/13/climate_mit_fortran/
>>> |CLiMA made the determination that old climate models, many of which
>>> were
>>> |built 50 years ago and coded in Fortran, had to go if there was
>>> going to be
>>> |any progress toward better climate models. Now that he's working at
>>> MIT on
>>> |the CGC project, he's realized that "traditional climate models are
>>> in a
>>> |language [MIT] students can't even read."
>>>
>>> Can't read the latest symbol-based (instead of word-based) language
>>> without lots of study ? Ok, that's a fair thing to say.
>>>
>>> But Fortran ??? Wow.
>>
>> Um, the code written in the 1960s and 1970s as mentioned in the article
>> was probably not Fortran 77 or even Fortran 66.  Unless I'm in a Star
>> Trek episode and 1977 actually came before the 1960s and most of the
>> 1970s.  Fortran IV was limited to 6-character identifiers and used
>> Hollerith constants. Functions and subroutines were not available so you
>> would tend to see programs tens of thousands of lines long with GOTO all
>> over the place.  It was unreadable to me when learning VAX Fortran in
>> 1983, so I can sympathize with someone who knows C++ or Java trying to
>> make sense of it now.
>
> What's so hard about GOTo?
>
> Yeah, it can produce disgusting code, but the is a difference between
> "able to read" and "able to follow".

A few GOTO's used in a structured is usually not a problem.

A lot of GOTO's jumping forth and back usually makes the code
very hard to follow.

Arne

Re: [OT] Current students apparently can't read Fortran code...

<625783b2$0$683$14726298@news.sunsite.dk>

  copy mid

https://www.novabbs.com/computers/article-flat.php?id=22029&group=comp.os.vms#22029

  copy link   Newsgroups: comp.os.vms
Path: i2pn2.org!i2pn.org!usenet.goja.nl.eu.org!dotsrc.org!filter.dotsrc.org!news.dotsrc.org!not-for-mail
Date: Wed, 13 Apr 2022 22:15:16 -0400
MIME-Version: 1.0
User-Agent: Mozilla/5.0 (Windows NT 6.1; Win64; x64; rv:91.0) Gecko/20100101
Thunderbird/91.8.0
Subject: Re: [OT] Current students apparently can't read Fortran code...
Content-Language: en-US
Newsgroups: comp.os.vms
References: <t37anb$937$1@dont-email.me> <t37kup$nic$1@dont-email.me>
<62575ae1$0$682$14726298@news.sunsite.dk> <t37uia$fl4$1@gioia.aioe.org>
From: arn...@vajhoej.dk (Arne Vajhøj)
In-Reply-To: <t37uia$fl4$1@gioia.aioe.org>
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 8bit
Lines: 23
Message-ID: <625783b2$0$683$14726298@news.sunsite.dk>
Organization: SunSITE.dk - Supporting Open source
NNTP-Posting-Host: 58e8dc8b.news.sunsite.dk
X-Trace: 1649902514 news.sunsite.dk 683 arne@vajhoej.dk/68.9.63.232:49365
X-Complaints-To: staff@sunsite.dk
 by: Arne Vajhøj - Thu, 14 Apr 2022 02:15 UTC

On 4/13/2022 9:48 PM, Galen wrote:
>
>> Fortran 66 was available for most of that period.
>>
>> Fortran IV is mostly the same as Fortran 66.
>>
>> And functions and subroutines was (per public sources - before
>> my time) added in Fortran II in 1958.
>>
>> So not quite as bad.
>>
>> Anything text sucked big time in Fortran IV/66 but climate
>> model should not be impacted by that.
>
> It’s possible that, just as today, “seasoned” (I.e. older, perhaps set in
> their ways) programmers in the 1960’s and 1970’s may not have used
> new-dangled features like IF/THEN/ELSE or more modern loop constructs. And
> may actually have liked assigned or computed GOTOs, three-branch IF, etc.

Block if else was new in 77.

Arne

Re: [OT] Current students apparently can't read Fortran code...

<625783e7$0$683$14726298@news.sunsite.dk>

  copy mid

https://www.novabbs.com/computers/article-flat.php?id=22030&group=comp.os.vms#22030

  copy link   Newsgroups: comp.os.vms
Path: i2pn2.org!i2pn.org!aioe.org!news.uzoreto.com!dotsrc.org!filter.dotsrc.org!news.dotsrc.org!not-for-mail
Date: Wed, 13 Apr 2022 22:16:09 -0400
MIME-Version: 1.0
User-Agent: Mozilla/5.0 (Windows NT 6.1; Win64; x64; rv:91.0) Gecko/20100101
Thunderbird/91.8.0
Subject: Re: [OT] Current students apparently can't read Fortran code...
Content-Language: en-US
Newsgroups: comp.os.vms
References: <t37anb$937$1@dont-email.me> <t37kup$nic$1@dont-email.me>
<19df1ef7-d782-491f-b105-3e941194db91n@googlegroups.com>
<t37taq$9f6$1@dont-email.me>
From: arn...@vajhoej.dk (Arne Vajhøj)
In-Reply-To: <t37taq$9f6$1@dont-email.me>
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 8bit
Lines: 44
Message-ID: <625783e7$0$683$14726298@news.sunsite.dk>
Organization: SunSITE.dk - Supporting Open source
NNTP-Posting-Host: 58e8dc8b.news.sunsite.dk
X-Trace: 1649902567 news.sunsite.dk 683 arne@vajhoej.dk/68.9.63.232:49365
X-Complaints-To: staff@sunsite.dk
 by: Arne Vajhøj - Thu, 14 Apr 2022 02:16 UTC

On 4/13/2022 9:27 PM, Craig A. Berry wrote:
>
> On 4/13/22 6:54 PM, Bob Gezelter wrote:
>> On Wednesday, April 13, 2022 at 7:05:00 PM UTC-4, Craig A. Berry wrote:
>>> On 4/13/22 3:10 PM, Simon Clubley wrote:
>>>>  From https://www.theregister.com/2022/04/13/climate_mit_fortran/
>>>>
>>>> |CLiMA made the determination that old climate models, many of which
>>>> were
>>>> |built 50 years ago and coded in Fortran, had to go if there was
>>>> going to be
>>>> |any progress toward better climate models. Now that he's working at
>>>> MIT on
>>>> |the CGC project, he's realized that "traditional climate models are
>>>> in a
>>>> |language [MIT] students can't even read."
>>>>
>>>> Can't read the latest symbol-based (instead of word-based) language
>>>> without lots of study ? Ok, that's a fair thing to say.
>>>>
>>>> But Fortran ??? Wow.
>>> Um, the code written in the 1960s and 1970s as mentioned in the article
>>> was probably not Fortran 77 or even Fortran 66. Unless I'm in a Star
>>> Trek episode and 1977 actually came before the 1960s and most of the
>>> 1970s. Fortran IV was limited to 6-character identifiers and used
>>> Hollerith constants. Functions and subroutines were not available so you
>>> would tend to see programs tens of thousands of lines long with GOTO all
>>> over the place. It was unreadable to me when learning VAX Fortran in
>>> 1983, so I can sympathize with someone who knows C++ or Java trying to
>>> make sense of it now.
>> Craig,
>>
>> FORTRAN II (IBM 1620, circa 1960, 20K digits of storage) had full
>> subroutines and functions.
>
> OK.  I read the Wikipedia article wrong, specifically with regard to
> functions and subroutines.  The fact they had them doesn't mean they
> were used.

I am pretty sure that they were a hit.

:-)

Arne

Re: [OT] Current students apparently can't read Fortran code...

<16fc3b11-a9b3-458c-a783-cf45164d170an@googlegroups.com>

  copy mid

https://www.novabbs.com/computers/article-flat.php?id=22031&group=comp.os.vms#22031

  copy link   Newsgroups: comp.os.vms
X-Received: by 2002:a05:622a:1c1a:b0:2ee:d7fc:c272 with SMTP id bq26-20020a05622a1c1a00b002eed7fcc272mr424002qtb.557.1649908559277;
Wed, 13 Apr 2022 20:55:59 -0700 (PDT)
X-Received: by 2002:a05:620a:30d:b0:69b:fbd5:d1a with SMTP id
s13-20020a05620a030d00b0069bfbd50d1amr483990qkm.753.1649908559150; Wed, 13
Apr 2022 20:55:59 -0700 (PDT)
Path: i2pn2.org!i2pn.org!weretis.net!feeder6.news.weretis.net!news.misty.com!border2.nntp.dca1.giganews.com!nntp.giganews.com!news-out.google.com!nntp.google.com!postnews.google.com!google-groups.googlegroups.com!not-for-mail
Newsgroups: comp.os.vms
Date: Wed, 13 Apr 2022 20:55:58 -0700 (PDT)
In-Reply-To: <t37taq$9f6$1@dont-email.me>
Injection-Info: google-groups.googlegroups.com; posting-host=2601:602:9700:4689:90a6:7d9f:75ba:58cc;
posting-account=gLDX1AkAAAA26M5HM-O3sVMAXdxK9FPA
NNTP-Posting-Host: 2601:602:9700:4689:90a6:7d9f:75ba:58cc
References: <t37anb$937$1@dont-email.me> <t37kup$nic$1@dont-email.me>
<19df1ef7-d782-491f-b105-3e941194db91n@googlegroups.com> <t37taq$9f6$1@dont-email.me>
User-Agent: G2/1.0
MIME-Version: 1.0
Message-ID: <16fc3b11-a9b3-458c-a783-cf45164d170an@googlegroups.com>
Subject: Re: [OT] Current students apparently can't read Fortran code...
From: gah...@u.washington.edu (gah4)
Injection-Date: Thu, 14 Apr 2022 03:55:59 +0000
Content-Type: text/plain; charset="UTF-8"
Lines: 20
 by: gah4 - Thu, 14 Apr 2022 03:55 UTC

On Wednesday, April 13, 2022 at 6:27:57 PM UTC-7, Craig A. Berry wrote:
> On 4/13/22 6:54 PM, Bob Gezelter wrote:

(snip)

> > FORTRAN II (IBM 1620, circa 1960, 20K digits of storage) had
> > full subroutines and functions.

> OK. I read the Wikipedia article wrong, specifically with regard to
> functions and subroutines. The fact they had them doesn't mean they
> were used.

They were used, but there are plenty of stories about very big subroutines,
so, looking at the code, you might think they didn't know about them.

I am sometimes surprised at how, even as computers get faster, there
is so much work to make subroutines calls more efficient. One reason
for the large subroutines might be that subroutine calls were slower in the
early days. Though some compilers generate less efficient code as
subroutines get larger.

Re: [OT] Current students apparently can't read Fortran code...

<jbqhg3Fl8soU1@mid.individual.net>

  copy mid

https://www.novabbs.com/computers/article-flat.php?id=22042&group=comp.os.vms#22042

  copy link   Newsgroups: comp.os.vms
Path: i2pn2.org!i2pn.org!news.swapon.de!fu-berlin.de!uni-berlin.de!individual.net!not-for-mail
From: bill.gun...@gmail.com (Bill Gunshannon)
Newsgroups: comp.os.vms
Subject: Re: [OT] Current students apparently can't read Fortran code...
Date: Thu, 14 Apr 2022 08:13:54 -0400
Lines: 44
Message-ID: <jbqhg3Fl8soU1@mid.individual.net>
References: <t37anb$937$1@dont-email.me>
<81de88d5-17d1-46e4-af39-0cfa88ea9fbcn@googlegroups.com>
Mime-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit
X-Trace: individual.net 62ntPIESEQPLofjd3O+QlQrpUAgcIoghoAI2JnTsZFgsFN+RN4
Cancel-Lock: sha1:Vf+0myOEOuVxFZncjuZIatDsQ18=
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101
Thunderbird/91.7.0
Content-Language: en-US
In-Reply-To: <81de88d5-17d1-46e4-af39-0cfa88ea9fbcn@googlegroups.com>
 by: Bill Gunshannon - Thu, 14 Apr 2022 12:13 UTC

On 4/13/22 19:51, Bob Gezelter wrote:
> On Wednesday, April 13, 2022 at 4:10:22 PM UTC-4, Simon Clubley wrote:
>> From https://www.theregister.com/2022/04/13/climate_mit_fortran/
>>
>> |CLiMA made the determination that old climate models, many of which were
>> |built 50 years ago and coded in Fortran, had to go if there was going to be
>> |any progress toward better climate models. Now that he's working at MIT on
>> |the CGC project, he's realized that "traditional climate models are in a
>> |language [MIT] students can't even read."
>>
>> Can't read the latest symbol-based (instead of word-based) language
>> without lots of study ? Ok, that's a fair thing to say.
>>
>> But Fortran ??? Wow.
>>
>> (And this is MIT!).
>>
>> Simon.
>> , b
>> --
>> Simon Clubley, clubley@remove_me.eisner.decus.org-Earth.UFP
>> Walking destinations on a map are further away than they appear.
> Simon,
>
> I agree wholeheartedly with Bill.
>
> FORTRAN, specifically ANSI FORTRAN-66/77 is a very simple language to lean by present standards.
>
> If the story is not total BS, particularly from MIT students, it is a source of despair.
>
> Today, it is no problem to do a module by module rewrite of FORTRAN into C. Frankly, it has not been a serious difficulty since the time of the original VAX FORTRAN, nearly a half century ago.

Or you run it thru F2C and save the time for other tasks. The big
question would be why would they be converting it to anything?
There is nothing wrong with Fortran unless the task changed from
engineering to accounts receivable. And there are plenty of compilers
still available,

>
> I would suggest they contact someone who is familiar with the subject matter.
>
> - Bob Gezelter, http://www.rlgsc.com

bill

Re: [OT] Current students apparently can't read Fortran code...

<jbqhl1Fl8soU2@mid.individual.net>

  copy mid

https://www.novabbs.com/computers/article-flat.php?id=22043&group=comp.os.vms#22043

  copy link   Newsgroups: comp.os.vms
Path: i2pn2.org!i2pn.org!news.swapon.de!fu-berlin.de!uni-berlin.de!individual.net!not-for-mail
From: bill.gun...@gmail.com (Bill Gunshannon)
Newsgroups: comp.os.vms
Subject: Re: [OT] Current students apparently can't read Fortran code...
Date: Thu, 14 Apr 2022 08:16:33 -0400
Lines: 31
Message-ID: <jbqhl1Fl8soU2@mid.individual.net>
References: <t37anb$937$1@dont-email.me> <t37kup$nic$1@dont-email.me>
<19df1ef7-d782-491f-b105-3e941194db91n@googlegroups.com>
<t37taq$9f6$1@dont-email.me> <mddwnfs4e3t.fsf@panix5.panix.com>
Mime-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit
X-Trace: individual.net hUsNFSqvysLeghjUNv/GZwr8TEy2B4KJqoIt03IrZypLd4DfLi
Cancel-Lock: sha1:V1UyYkha5dgltnoEPwF3xFwryBs=
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101
Thunderbird/91.7.0
Content-Language: en-US
In-Reply-To: <mddwnfs4e3t.fsf@panix5.panix.com>
 by: Bill Gunshannon - Thu, 14 Apr 2022 12:16 UTC

On 4/13/22 22:01, Rich Alderson wrote:
> "Craig A. Berry" <craigberry@nospam.mac.com> writes:
>
>> On 4/13/22 6:54 PM, Bob Gezelter wrote:
>
>>> FORTRAN II (IBM 1620, circa 1960, 20K digits of storage) had full
>>> subroutines and functions.
>
>> OK. I read the Wikipedia article wrong, specifically with regard to
>> functions and subroutines. The fact they had them doesn't mean they
>> were used.
>
>>> Admittedly, many of these codes were not written to modern engineering
>>> standards, but one can decode them. Been there, done that (both in modern
>>> times, and when I was an undergraduate).
>
>> Right. And of course you can decode a 40,000-line program with no
>> comments and 6-digit identifiers. But it's work. Arguably not worth
>> the effort 10 years after they were written, much less 50.
>
> FORTRAN IV was my first language, on an IBM 1401, in 1969. Functions and
> subroutines were actively encouraged.
>
> If you knew what you were talking about you might be dangerous.
>

Wow, were you ever lucky. I did 1401 in 1971 and all we got was
Autocoder. I'll bet you even had disks.

bill

Re: [OT] Current students apparently can't read Fortran code...

<t3940t$1ro$1@dont-email.me>

  copy mid

https://www.novabbs.com/computers/article-flat.php?id=22044&group=comp.os.vms#22044

  copy link   Newsgroups: comp.os.vms
Path: i2pn2.org!i2pn.org!eternal-september.org!reader02.eternal-september.org!.POSTED!not-for-mail
From: craigbe...@nospam.mac.com (Craig A. Berry)
Newsgroups: comp.os.vms
Subject: Re: [OT] Current students apparently can't read Fortran code...
Date: Thu, 14 Apr 2022 07:28:11 -0500
Organization: A noiseless patient Spider
Lines: 15
Message-ID: <t3940t$1ro$1@dont-email.me>
References: <t37anb$937$1@dont-email.me> <t37kup$nic$1@dont-email.me>
<19df1ef7-d782-491f-b105-3e941194db91n@googlegroups.com>
<t37taq$9f6$1@dont-email.me> <625783e7$0$683$14726298@news.sunsite.dk>
Mime-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 8bit
Injection-Date: Thu, 14 Apr 2022 12:28:13 -0000 (UTC)
Injection-Info: reader02.eternal-september.org; posting-host="46fab0ee17f095522074eb81a93db071";
logging-data="1912"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1/aGA83G+GOKGXZKYxSNiDjgWh9hiKanWY="
User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:91.0)
Gecko/20100101 Thunderbird/91.8.0
Cancel-Lock: sha1:qhe+cPZlmg1vES5XYbXooe6Q+SA=
In-Reply-To: <625783e7$0$683$14726298@news.sunsite.dk>
Content-Language: en-US
 by: Craig A. Berry - Thu, 14 Apr 2022 12:28 UTC

On 4/13/22 9:16 PM, Arne Vajhøj wrote:
> On 4/13/2022 9:27 PM, Craig A. Berry wrote:
>>
>> On 4/13/22 6:54 PM, Bob Gezelter wrote:

>>> FORTRAN II (IBM 1620, circa 1960, 20K digits of storage) had full
>>> subroutines and functions.
>>
>> OK.  I read the Wikipedia article wrong, specifically with regard to
>> functions and subroutines.  The fact they had them doesn't mean they
>> were used.
>
> I am pretty sure that they were a hit.

I'm 100% sure that the code I had to read didn't have them.

Re: [OT] Current students apparently can't read Fortran code...

<jbqj4pFlibqU1@mid.individual.net>

  copy mid

https://www.novabbs.com/computers/article-flat.php?id=22045&group=comp.os.vms#22045

  copy link   Newsgroups: comp.os.vms
Path: i2pn2.org!i2pn.org!news.swapon.de!fu-berlin.de!uni-berlin.de!individual.net!not-for-mail
From: bill.gun...@gmail.com (Bill Gunshannon)
Newsgroups: comp.os.vms
Subject: Re: [OT] Current students apparently can't read Fortran code...
Date: Thu, 14 Apr 2022 08:42:01 -0400
Lines: 23
Message-ID: <jbqj4pFlibqU1@mid.individual.net>
References: <t37anb$937$1@dont-email.me> <t37kup$nic$1@dont-email.me>
<19df1ef7-d782-491f-b105-3e941194db91n@googlegroups.com>
<t37taq$9f6$1@dont-email.me> <625783e7$0$683$14726298@news.sunsite.dk>
<t3940t$1ro$1@dont-email.me>
Mime-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 8bit
X-Trace: individual.net cRnwBTJL9SsNlC7yJB0smQMB/vt/NXs60VraDU0m0WE0F4NETa
Cancel-Lock: sha1:6rudue75ub85JY4g2rRKFi0NtOE=
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101
Thunderbird/91.7.0
Content-Language: en-US
In-Reply-To: <t3940t$1ro$1@dont-email.me>
 by: Bill Gunshannon - Thu, 14 Apr 2022 12:42 UTC

On 4/14/22 08:28, Craig A. Berry wrote:
> On 4/13/22 9:16 PM, Arne Vajhøj wrote:
>> On 4/13/2022 9:27 PM, Craig A. Berry wrote:
>>>
>>> On 4/13/22 6:54 PM, Bob Gezelter wrote:
>
>>>> FORTRAN II (IBM 1620, circa 1960, 20K digits of storage) had full
>>>> subroutines and functions.
>>>
>>> OK.  I read the Wikipedia article wrong, specifically with regard to
>>> functions and subroutines.  The fact they had them doesn't mean they
>>> were used.
>>
>> I am pretty sure that they were a hit.
>
> I'm 100% sure that the code I had to read didn't have them.

From my experience, the biggest problem with legacy Fortran was that
it was not written by programmers at all but by engineers who just
happened to have one course in Fortran and nothing else computer
related.

bill

Re: [OT] Current students apparently can't read Fortran code...

<829f0c2f-8cc3-48ef-a980-4c4efae35c31n@googlegroups.com>

  copy mid

https://www.novabbs.com/computers/article-flat.php?id=22047&group=comp.os.vms#22047

  copy link   Newsgroups: comp.os.vms
X-Received: by 2002:ac8:7281:0:b0:2ee:ed60:777a with SMTP id v1-20020ac87281000000b002eeed60777amr1583760qto.197.1649941180658;
Thu, 14 Apr 2022 05:59:40 -0700 (PDT)
X-Received: by 2002:a37:89c7:0:b0:69a:121b:9256 with SMTP id
l190-20020a3789c7000000b0069a121b9256mr1748013qkd.218.1649941180512; Thu, 14
Apr 2022 05:59:40 -0700 (PDT)
Path: i2pn2.org!i2pn.org!weretis.net!feeder6.news.weretis.net!1.us.feeder.erje.net!3.us.feeder.erje.net!feeder.erje.net!border1.nntp.dca1.giganews.com!nntp.giganews.com!news-out.google.com!nntp.google.com!postnews.google.com!google-groups.googlegroups.com!not-for-mail
Newsgroups: comp.os.vms
Date: Thu, 14 Apr 2022 05:59:40 -0700 (PDT)
In-Reply-To: <jbqj4pFlibqU1@mid.individual.net>
Injection-Info: google-groups.googlegroups.com; posting-host=74.140.8.188; posting-account=CO-_tAoAAACjjs2KLAw3xVKCy6Z_J3VK
NNTP-Posting-Host: 74.140.8.188
References: <t37anb$937$1@dont-email.me> <t37kup$nic$1@dont-email.me>
<19df1ef7-d782-491f-b105-3e941194db91n@googlegroups.com> <t37taq$9f6$1@dont-email.me>
<625783e7$0$683$14726298@news.sunsite.dk> <t3940t$1ro$1@dont-email.me> <jbqj4pFlibqU1@mid.individual.net>
User-Agent: G2/1.0
MIME-Version: 1.0
Message-ID: <829f0c2f-8cc3-48ef-a980-4c4efae35c31n@googlegroups.com>
Subject: Re: [OT] Current students apparently can't read Fortran code...
From: osuvma...@gmail.com (David Jones)
Injection-Date: Thu, 14 Apr 2022 12:59:40 +0000
Content-Type: text/plain; charset="UTF-8"
Lines: 7
 by: David Jones - Thu, 14 Apr 2022 12:59 UTC

On Thursday, April 14, 2022 at 8:42:04 AM UTC-4, Bill Gunshannon wrote:
> From my experience, the biggest problem with legacy Fortran was that
> it was not written by programmers at all but by engineers who just
> happened to have one course in Fortran and nothing else computer
> related.
>

I've seen Python like that.

Re: [OT] Current students apparently can't read Fortran code...

<t3988b$lbh$1@reader1.panix.com>

  copy mid

https://www.novabbs.com/computers/article-flat.php?id=22050&group=comp.os.vms#22050

  copy link   Newsgroups: comp.os.vms
Path: i2pn2.org!i2pn.org!weretis.net!feeder6.news.weretis.net!panix!.POSTED.spitfire.i.gajendra.net!not-for-mail
From: cro...@spitfire.i.gajendra.net (Dan Cross)
Newsgroups: comp.os.vms
Subject: Re: [OT] Current students apparently can't read Fortran code...
Date: Thu, 14 Apr 2022 13:40:27 -0000 (UTC)
Organization: PANIX Public Access Internet and UNIX, NYC
Message-ID: <t3988b$lbh$1@reader1.panix.com>
References: <t37anb$937$1@dont-email.me> <81de88d5-17d1-46e4-af39-0cfa88ea9fbcn@googlegroups.com> <jbqhg3Fl8soU1@mid.individual.net>
Injection-Date: Thu, 14 Apr 2022 13:40:27 -0000 (UTC)
Injection-Info: reader1.panix.com; posting-host="spitfire.i.gajendra.net:166.84.136.80";
logging-data="21873"; mail-complaints-to="abuse@panix.com"
X-Newsreader: trn 4.0-test77 (Sep 1, 2010)
Originator: cross@spitfire.i.gajendra.net (Dan Cross)
 by: Dan Cross - Thu, 14 Apr 2022 13:40 UTC

In article <jbqhg3Fl8soU1@mid.individual.net>,
Bill Gunshannon <bill.gunshannon@gmail.com> wrote:
>On 4/13/22 19:51, Bob Gezelter wrote:
>> If the story is not total BS, particularly from MIT students, it is a source of despair.
>>
>> Today, it is no problem to do a module by module rewrite of FORTRAN into C. Frankly, it has not been a serious difficulty since the time of
>the original VAX FORTRAN, nearly a half century ago.
>
>Or you run it thru F2C and save the time for other tasks. The big
>question would be why would they be converting it to anything?
>There is nothing wrong with Fortran unless the task changed from
>engineering to accounts receivable. And there are plenty of compilers
>still available,

Hazarding a guess after reading the original article, it seems
that they wanted to expand the model significantly to include
microclimates, _and_ they wanted to change it to show the
interaction between small-scale and large-scale models (the
existing code only supports large-scale models). My suspicion
is that the original code, which is probably some blend of
FORTRAN IV and -66/-77 is probably noodle code written by
generations of scienists with little or no formal training in
software. In other words, it's probably badly written and
badly maintained.

Expanding it in the way they wanted would probably amount to a
near-total rewrite anyway (imagine a plethora of seemingly
unrelated arrays all sized to some base assumptions they'd like
to change; the article mentioned something about smallest
geographic area supported by the current model and how they want
to expand that by a couple of orders or magnitude; not to
mention implementing the large/small scale stuff _de novo_). At
that point, you have choices: 1) keep the ancient FORTRAN
dialect, 2) rewrite it in modern FORTRAN, or 3) pick another
language.

If you're basically gutting the thing anyway, why bother with
the archaic dialect? Once you're making a choice between (2)
and (3), one is already choosing between a modern FORTRAN
dialect that's essentially another language anyway, and
something else. That is, if converting to (say) FORTRAN 2018,
that's already sufficiently different that there's little
practical difference between (2) and (3). And once that's
established, one can pick whatever one likes.

Put another way, I think it's less an issue that "students can't
understand FORTRAN" and more "the situation was such that we
didn't have to stick with an ancient dialect of FORTRAN, and oh,
by the way, now we don't need to teach kids FORTRAN IV anymore."

As an aside, it's kind of a shame that SISAL never took off.

- Dan C.

Pages:12
server_pubkey.txt

rocksolid light 0.9.8
clearnet tor