Beefy Boxes and Bandwidth Generously Provided by pair Networks
Think about Loose Coupling
 
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?
[Corion]: Oh. I've run out of prewritten blogs.perl.org articles. I need to release some more modules and write some more articles then ;)
choroba still has one more.
[Corion]: I have Thursday and Friday off, so then I might get to converting the rough outlines to more articles ;)

How do I use this? | Other CB clients
Other Users?
Others imbibing at the Monastery: (7)
As of 2017-04-24 08:51 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    I'm a fool:











    Results (437 votes). Check out past polls.