home bbs files messages ]

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

   comp.os.vms      DEC's VAX* line of computers & VMS.      264,096 messages   

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

   Message 262,983 of 264,096   
   Lawrence =?iso-8859-13?q?D=FFOlivei to All   
   Re: extending MySQL on VMS   
   15 Aug 25 22:42:02   
   
   From: ldo@nz.invalid   
      
   On Fri, 15 Aug 2025 09:55:17 -0400, Arne Vajhøj wrote:   
      
   > But I believe most curly bracket languages inherited from C in this   
   > regard.   
      
   Python took over the C operator hierarchy, with one subtle little   
   twist. It slightly tweaked the precedence of the bitwise operators   
   relative to the comparisons, so you don’t need parentheses in   
   expressions like   
      
       (C)       («val» & «bitmask») == «testvalue»   
       (Python)  «val» & «bitmask» == «testvalue»   
      
   I have asked on comp.lang.c whether any existing C code could be   
   broken by making the same change in that language. In principle it   
   could, but nobody could come up with any real-world examples.   
      
   --- 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