Skip to content
Prev 347714 / 398500 Next

the less-than-minus gotcha

On 02/02/15 14:26, Steve Taylor wrote:

            
Couldn't agree less, Steve. The "<-" should be used for assignment. The 
"=" sign should be reserved for handling function arguments in the 
"name=value" form.  Doing anything else invites confusion and 
occasionally chaos.

Lots of examples have been given in the past involving syntax of the 
form foo(x = y) and foo(x <- y).

cheers,

Rolf