XPost: comp.lang.c++   
   From: Keith.S.Thompson+u@gmail.com   
      
   "Paul J. Lucas" writes:   
   > On 12/9/25 12:38 PM, Kaz Kylheku wrote:   
   >> On 2025-12-09, Paul J. Lucas wrote:   
   >>> On 10/26/25 3:36 PM, Keith Thompson wrote:   
   >>>> (I'm not entirely pleased that the newer version expands   
   >>>> "char" to "character" and, worse, "int" to "integer", but I   
   >>>> can live with it.)   
   >>>   
   >>> Hence the --no-english-types or -T command line option or the   
   >>> "set noenglish" command (from within cdecl or a config file).   
   >> The problem is that the English words chosen already have a   
   >> meaning. "Integer" is a type category in C;   
   >   
   > It's not a keyword, so that's irrelevant. Likewise,   
   > "Character."   
   >   
   >>> The thought was that those newer to C and less familiar with   
   >>> its types might benefit from more elaborate output.   
   >> This kind of thing just ensures that newbies go sideways from   
   >> being less familiar to being incorrectly familiar.   
   >   
   > Opinion noted. I disagree.   
      
   If you prefer the C-like syntax rather than pseudo-English (as I   
   do), you can change the default by creating a ".cdeclrc" file.   
      
   $ cdecl explain "int n;" declare n as integer $ echo "set   
   noenglish-types" > $HOME/.cdeclrc $ cdecl explain "int n;" declare   
   n as int $   
      
   --   
   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)   
|