Beefy Boxes and Bandwidth Generously Provided by pair Networks
Syntactic Confectionery Delight
 
PerlMonks  

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,
Zaxo

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://439894]
help
Chatterbox?
and all is quiet...

How do I use this? | Other CB clients
Other Users?
Others meditating upon the Monastery: (5)
As of 2016-12-10 15:25 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    On a regular basis, I'm most likely to spy upon:













    Results (163 votes). Check out past polls.