[Info-vax] Fortran

Arne Vajhøj arne at vajhoej.dk
Wed Dec 5 21:09:41 EST 2018


On 12/5/2018 9:00 PM, Arne Vajhøj wrote:
> On 12/5/2018 8:23 PM, Bill Gunshannon wrote:
>> On 12/5/18 1:29 PM, Scott Dorsey wrote:
>>> Didn't Knuth say that global variables should be banned?
>>
>> And Dijkstra said GOTO's should, too.  How did that work out?
> 
> Pretty well.
> 
> Many newer languages does not have GOTO.
> 
> And in those newer languages that does have it, then
> its usage is typical extremely rare.

Examples:

Java and Python does not have GOTO.

C# and PHP got GOTO but they are almost never used
(my guesstimate <0.1% of source files in those languages).

Arne




More information about the Info-vax mailing list