Click here to Skip to main content
15,922,533 members

Welcome to the Lounge

   

For discussing anything related to a software developer's life but is not for programming questions. Got a programming question?

The Lounge is rated Safe For Work. If you're about to post something inappropriate for a shared office environment, then don't post it. No ads, no abuse, and no programming questions. Trolling, (political, climate, religious or whatever) will result in your account being removed.

 
GeneralRe: code comments Pin
kalberts28-Jul-16 2:12
kalberts28-Jul-16 2:12 
GeneralRe: code comments Pin
kalberts28-Jul-16 2:59
kalberts28-Jul-16 2:59 
GeneralRe: code comments Pin
Clifford Nelson27-Jul-16 7:39
Clifford Nelson27-Jul-16 7:39 
PraiseRe: code comments Pin
TheGreatAndPowerfulOz27-Jul-16 7:49
TheGreatAndPowerfulOz27-Jul-16 7:49 
GeneralRe: code comments Pin
Clifford Nelson27-Jul-16 10:23
Clifford Nelson27-Jul-16 10:23 
GeneralRe: code comments Pin
kalberts28-Jul-16 2:49
kalberts28-Jul-16 2:49 
GeneralRe: code comments Pin
Clifford Nelson28-Jul-16 4:55
Clifford Nelson28-Jul-16 4:55 
GeneralRe: code comments Pin
kalberts28-Jul-16 5:20
kalberts28-Jul-16 5:20 
Sure, but remember that Fortran in the 1980s didn't have anything remotely resembling an "object" concept - not even anything struct-like. The Fortran you see today has very little to do with Fortran in the second millenium. When the battles around Fortran77 was being with a lot of very far-reaching extension proposals, old guru C. A. Hoare remarked that "I don't know what programming languages will look like in year 2000, but they will be called 'Fortran'!" He ended up being right: When I first time saw a Fortran 2003 program, I honestly didn't recognize it as Fortran at all!

The common way of transferring a lot of values to a function was COMMON. A COMMON block was a named, static, unstructured/typeless block of memory. Each user of the COMMON block had his own definition of it - the order and type of variables etc. Think of it as a shared typeless pointer where each module casts the typeless block to whatever it wants (but the block was static, not heap allocated). Of course any sensible system designer would make one set of definitions, to be copied into all modules, but "include"-like compiler directives where not that common then. So if the layout was changed (say, another variable added), the change had to be duplicated in all source files.

With statically allocated COMMON blocks as the only viable alternative, and no struct-mechanisms available, it really isn't that surprising that argument lists could grow terribly long.
GeneralRe: code comments Pin
Clifford Nelson28-Jul-16 5:26
Clifford Nelson28-Jul-16 5:26 
GeneralRe: code comments Pin
kalberts28-Jul-16 6:02
kalberts28-Jul-16 6:02 
GeneralRe: code comments Pin
Clifford Nelson28-Jul-16 14:51
Clifford Nelson28-Jul-16 14:51 
GeneralRe: code comments Pin
kalberts28-Jul-16 21:34
kalberts28-Jul-16 21:34 
GeneralRe: code comments Pin
Clifford Nelson29-Jul-16 5:48
Clifford Nelson29-Jul-16 5:48 
GeneralRe: code comments Pin
kalberts28-Jul-16 2:21
kalberts28-Jul-16 2:21 
GeneralRe: code comments Pin
Richard Deeming27-Jul-16 7:55
mveRichard Deeming27-Jul-16 7:55 
GeneralRe: code comments Pin
Tom Deketelaere27-Jul-16 8:12
professionalTom Deketelaere27-Jul-16 8:12 
GeneralRe: code comments Pin
Eric Whitmore28-Jul-16 1:18
Eric Whitmore28-Jul-16 1:18 
GeneralRe: code comments Pin
Cloud William28-Jul-16 2:14
Cloud William28-Jul-16 2:14 
GeneralRe: code comments Pin
kalberts28-Jul-16 2:38
kalberts28-Jul-16 2:38 
GeneralRe: code comments Pin
TheGreatAndPowerfulOz28-Jul-16 5:54
TheGreatAndPowerfulOz28-Jul-16 5:54 
GeneralRe: code comments Pin
agolddog28-Jul-16 3:36
agolddog28-Jul-16 3:36 
GeneralRe: code comments Pin
kalberts28-Jul-16 5:28
kalberts28-Jul-16 5:28 
GeneralRe: code comments Pin
TheGreatAndPowerfulOz28-Jul-16 6:00
TheGreatAndPowerfulOz28-Jul-16 6:00 
GeneralRe: code comments Pin
TheGreatAndPowerfulOz28-Jul-16 5:59
TheGreatAndPowerfulOz28-Jul-16 5:59 
GeneralRe: code comments Pin
Member 844862228-Jul-16 3:47
Member 844862228-Jul-16 3:47 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.