On Mon, Feb 25, 2013 at 7:34 AM, MRAB <pyt...@mrabarnett.plus.com> wrote: > Some languages require parentheses, others don't. > > C does. C++, Java and C# are descended from, or influenced by, C. > > Algol didn't (doesn't?). Pascal, Modula-2, Oberon, Ada, and others > don't. > > Parentheses are used where required, but not used where they're not > required, in order to reduce visual clutter.
And just to muddy the waters, parens are used in Python when the condition goes over a line break: if (condition1 and condition2 and condition3): ChrisA -- http://mail.python.org/mailman/listinfo/python-list