Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl-Sensitive Sunglasses

Re: Embracing functions with parentheses

by Zaxo (Archbishop)
on Mar 16, 2005 at 10:07 UTC ( #439894=note: print w/ replies, xml ) Need Help??

in reply to Embracing functions with parentheses

I tend to use as few parentheses as I can. The reason is that when I see them then I know they mean something. Usually they mean that I am overriding operator precedence, my $foo = ($bar + 1)/2;
or I need to terminate the argument list of a function or builtin, print map( {baz $_} @quux), ' results.', $/;
The effect is about like the style you describe, and I'm happy with it.

In general I try to follow perlstyle, but my efforts may show a few quirks.

After Compline,

Comment on Re: Embracing functions with parentheses
Select or Download Code

Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://439894]
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others imbibing at the Monastery: (8)
As of 2015-11-29 12:09 GMT
Find Nodes?
    Voting Booth?

    What would be the most significant thing to happen if a rope (or wire) tied the Earth and the Moon together?

    Results (750 votes), past polls