[Tutor] a puzzle about -3**2 vs (-3)**2

Emile van Sebille emile at fenx.com
Sat Aug 1 18:53:37 CEST 2015

On 8/1/2015 9:43 AM, Steven D'Aprano wrote:
> The bottom line is, there is no universal right or wrong answer for the
> precedence rules for operators, although some rules are less right than
> others.

My bottom line is that the liberal use of parens reconciles them all, 
particularly for any humans reading the code that need to change it.


More information about the Tutor mailing list