in reply to Re: Closures versus Currying
in thread Closures versus Currying

(...) if you can't explain precisely why you are using ampersands in your subroutine calls then leave them off (...)

Because ampersands make it clear to everyone that you know you're using a user-defined function rather than a builtin, and when used with parens don't do anything out of the ordinary (viz. (tye)Re: A question of style)?

I use ampersands everywhere I call user functions. It fits in nicely with the Perlish idea of "every symbol that isn't part of the language has a glyph" --- actually, now that I type that, I'm not certain that it's true, but it's mostly true so I stand by my coding style. Anyways, as tye points out, ampersands and parens Is Your Friend.

--
F o x t r o t U n i f o r m
Found a typo in this node? /msg me
% man 3 strfry

Replies are listed 'Best First'.
Re^3: Closures versus Currying
by tilly (Archbishop) on Sep 07, 2004 at 17:04 UTC
    I consider ampersands to be a question of personal taste.

    I only use them when necessary so that my coding style can stay more uniform when I switch languages. YMMV on whether this is good reasoning.