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,589 of 135,536    |
|    rbowman to The Natural Philosopher    |
|    Re: naughty Pascal    |
|    09 Jan 26 20:40:50    |
   
   XPost: alt.folklore.computers   
   From: bowman@montana.com   
      
   On Fri, 9 Jan 2026 18:46:59 +0000, The Natural Philosopher wrote:   
      
   > On 09/01/2026 15:16, Peter Flass wrote:   
   >> On 1/9/26 03:02, The Natural Philosopher wrote:   
   >>> On 09/01/2026 01:35, rbowman wrote:   
   >>>> On Thu, 08 Jan 2026 22:45:45 GMT, Charlie Gibbs wrote:   
   >>>>   
   >>>>> C++'s "//" construct is a lot easier to code.   
   >>>>   
   >>>> That is something I was happy to see adapted by C, JavaScript and   
   >>>> other C like languages. I don't know who had it first. If it's used   
   >>>> consistently it makes commenting out blocks easier although '#if 0'    
   >>>> works.   
   >>>>   
   >>>>   
   >>>>   
   >>>>   
   >>> For a block I use /*   
   >>> ...   
   >>> */   
   >>> Bit shorter than #if 0 ...   
   >>> #endif   
   >>>   
   >>>   
   >> Great as long as the block doesn't contain comments.   
   >   
   > Comments are reserved either ror this   
   > /********************************************* * This is a comment and   
   > conmatains no code * **********************************************/   
   > Or somecode('blah'); // Blah processing unit.   
   >   
   > which is easy enough to asterisk out   
      
      
   In theory. When you're dealing with 30 year old legacy code before // was   
   accepted you get cautious.   
      
   --- 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