home bbs files messages ]

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

   comp.os.linux.misc      Linux-specific topics not covered by oth      135,536 messages   

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

   Message 134,622 of 135,536   
   Waldek Hebisch to Charlie Gibbs   
   Re: naughty Pascal   
   11 Jan 26 01:32:19   
   
   XPost: alt.folklore.computers   
   From: antispam@fricas.org   
      
   In alt.folklore.computers Charlie Gibbs  wrote:   
   > On 2026-01-09, c186282  wrote:   
   >   
   >>    'C' has added a few nicey-nice things, but not TOO much.   
   >>    You can (I do) stick pretty much to K&R and everything   
   >>    still works fine.   
   >   
   > I think of my style as "K&R plus prototypes".  In fact, to   
   > work both ways, my code is still full of constructs like this:   
   >   
   > #ifdef PROTOTYPE   
   > int foo(char *bar, BOOL baz)   
   > #else   
   > int foo(bar, baz) char *bar; BOOL baz;   
   > #endif   
      
   I almost never used non-prototype form for my own code.  I kept   
   it in "public" code for benefits of HP-UX users (which was   
   delivered with K&R compiler and ANSI way payed-for extra).   
   I got rid of most of such stuff about 18 years ago.  I probably   
   still have some codes that I fetched from the net which use   
   old form, but I doubt if it is present in code that I use.   
      
   --   
                                 Waldek Hebisch   
      
   --- 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