home bbs files messages ]

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

   comp.lang.c      Meh, in C you gotta define EVERYTHING      243,242 messages   

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

   Message 242,322 of 243,242   
   Keith Thompson to Philipp Klaus Krause   
   Re: _BitInt(N)   
   02 Dec 25 15:33:04   
   
   From: Keith.S.Thompson+u@gmail.com   
      
   Philipp Klaus Krause  writes:   
   > Am 02.12.25 um 08:31 schrieb David Brown:   
   >> But in days gone by if anyone ever needed to use trigraphs for C   
   >> programming, then I am sure they would happily switch to a   
   >> word-based language given half a chance.  I find "{ }" nicer than   
   >> "begin end", but I'd pick "begin end" over "??< ??>" any day!   
   >   
   > AFAIK, there never was a real user of trigraphs (unless you count   
   > compiler test suites). AFAIK for all real-world use digraphs were   
   > sufficient.   
      
   There have been actual uses of trigraphs.  Richard Heathfield posted   
   this on this newsgroup in 2010 :   
      
       Yes, they are still needed, for example in some mainframe   
       environments.  They make the code look astoundingly ugly, but   
       they do at least make it work. It is not uncommon for "normal"   
       C code to be written and tested on PCs, then run through   
       a conversion program to replace monographs with trigraphs   
       where required before transfer to the mainframe for final   
       testing. That way, you get the readability where it matters,   
       and the usability where /that/ matters.   
      
   But trigraphs have been removed in C23.   
      
   --   
   Keith Thompson (The_Other_Keith) Keith.S.Thompson+u@gmail.com   
   void Void(void) { Void(); } /* The recursive call of the void */   
      
   --- 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