Nokolai wrote:
OK, is there a general concensus on when it is OK to omit parentheses
and when it is not? I prefer skipping parentheses as often
as possible,
but I’m not quite sure when I may run into trouble and when it is OK.
nikolai
I see parentheses as unnecessary noise most of the time. The only time I
use them is if I need to make it clear to the interpreter or if things
are not clear to the user. Basically the same criteria I apply to using
parentheses for math equations.
So if it is clear to developers and clear to the interpreter then don’t
bother with them. But I am sure there are others with different
opinions.
···
–
Eric Anderson