Operator Precedence: One Thing Python Got Right

Lawrence D’Oliveiro lawrencedo99 at gmail.com
Mon Jun 27 18:57:19 EDT 2016


On Tuesday, June 28, 2016 at 2:32:48 AM UTC+12, Grant Edwards wrote:
>
> On 2016-06-27, BartC wrote:
>
>> I bet your code isn't very 'Pythonic' then!
> 
> No, not when the end goal is to move it into C.

I wonder: how much real-world C code would be broken if the operator precedences in C were changed to match that in Python?



More information about the Python-list mailing list