[Rcpp-devel] Unit Test Question Was: pnorm/qnorm?

Christian Gunning xian at unm.edu
Thu Sep 13 23:03:54 CEST 2012


On Thu, Sep 13, 2012 at 9:20 AM, Dirk Eddelbuettel <edd at debian.org> wrote:
>
> I am firmly in the 'Don't do '=' for assignment, ever' camp.
>
> | 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.

For the sake of posterity, I'd say those deserves "because..."
clauses.  (I have my own pros/cons list, but I'm still not totally
confident in broadcasting them.)  Curious mind inquire.

Though offtopic, I do think it's a reasonable question here for folks
trying to map/leverage their knowledge of R onto C++.  To my knowledge
there's no equivalent of the  -> construct in C++, for example.
-Christian
-- 
A man, a plan, a cat, a ham, a yak, a yam, a hat, a canal – Panama!


More information about the Rcpp-devel mailing list