Message-ID: <CAC+N9BVkxYmhTWHCeZXMKFzNktzoax6ASQSN0AT_84EUR6VoFw@mail.gmail.com>
Date: 2012-09-13T16:48:19Z
From: Tim Triche, Jr.
Subject: [Rcpp-devel] Unit Test Question Was: pnorm/qnorm?
In-Reply-To: <20562.2005.897116.139510@max.nulle.part>
On Thu, Sep 13, 2012 at 9:20 AM, Dirk Eddelbuettel <edd at debian.org> wrote:
> | Also, are other people who use Rcpp falling into the habit of using
> | '=' instead of '<-' for assignment in R, so that moving code to C++
> | goes more smoothly?
>
> I am firmly in the 'Don't do '=' for assignment, ever' camp.
Because of the ease of putting a '=' where you meant to put '=='? Or
something else?
Likewise, are there ever good reasons to use '<<-' or could that stand to
be retired too?
> | Is there any real downside to this habit? It came up at the BioC
> | conference developer day this year and was more or less immediately
> | dismissed.
>
> Just say no.
>
> Dirk
The above was indeed the conclusion of the discussion... I suppose a
search-and-replace is hardly the end of the world (when moving to C++).
Thanks again,
--t
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.r-forge.r-project.org/pipermail/rcpp-devel/attachments/20120913/665306b5/attachment.html>