behavior of =
Duncan Murdoch
dmurdoch@pair.com
Fri, 08 Nov 2002 13:05:30 -0500
On 08 Nov 2002 09:55:34 -0800, you wrote:
>>>>>> "duncan" == Duncan Murdoch <dmurdoch@pair.com> writes:
> duncan> I would say a better change (but not good enough to be worth doing,
> duncan> because it would break so much) would be to drop "=" as an assignment
> duncan> operator, and use ":=" for that purpose.
>
>Why not "<-" instead of ":="? I still don't understand why this is
>in anyway better (except for pascal and modula programmers, see
>Thomas' point from a while back: "If you want those constructs, use
>those languages", is application.
Because "=" is different from "<-". I'm suggesting that if we want
that distinction, then we should use the pair ":=" and "<-", rather
than overloading the meaning of "=".
But perhaps we don't need the distinction at all.
Duncan Murdoch
-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
r-devel mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html
Send "info", "help", or "[un]subscribe"
(in the "body", not the subject !) To: r-devel-request@stat.math.ethz.ch
_._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._