home bbs files messages ]

Forums before death by AOL, social media and spammers... "We can't have nice things"

   comp.compilers      Compiler construction, theory, etc. (Mod      2,753 messages   

[   << oldest   |   < older   |   list   |   newer >   |   newest >>   ]

   Message 2,676 of 2,753   
   Thomas Koenig to Kaz Kylheku   
   Re: another C-like language? was Compile   
   11 Jan 23 10:49:15   
   
   From: tkoenig@netcologne.de   
      
   Kaz Kylheku <864-117-4973@kylheku.com> schrieb:   
      
   > The "Variables at the top" meme may be something coming from Pascal.   
   > IIRC, in Pascal, compound statements aren't full blocks; they cannot   
   > have VAR declarations.   
      
   FORTRAN has had declaration statements (first version, DIMENSION   
   only) at the top of procedures since the beginning.  Algol 58   
   aka IAL had declarations everywere, while Algol 60 allowed them   
   only at the beginning of blocks.   
      
   > When programmers abandoned Pascal in the 1980s, they carried over this   
   > habit into C.   
      
   Probably, C just carried it over from the Algol tradition.   
      
   --- SoupGate-Win32 v1.05   
    * Origin: you cannot sedate... all the things you hate (1:229/2)   

[   << oldest   |   < older   |   list   |   newer >   |   newest >>   ]


(c) 1994,  bbs@darkrealms.ca