Re: R-alpha: ! incompatibility

Peter Dalgaard BSA (pd@kubism.ku.dk)
17 Sep 1996 23:48:48 +0200


To: r-testers@stat.math.ethz.ch
Subject: Re: R-alpha: ! incompatibility
From: Peter Dalgaard BSA <pd@kubism.ku.dk>
Date: 17 Sep 1996 23:48:48 +0200
In-Reply-To: Bill Simpson's message of Tue, 17 Sep 1996 10:52:52 -0500 (CDT)
Message-Id: <x2vidc24ov.fsf@bush.kubism.ku.dk>

Bill Simpson <wsimpson@uwinnipeg.ca> writes:

> 
> I agree with Todd.  In C for example 
> if(!k)
> is generally considered BETTER style than
> if(k==0)
> The first version is considered easier to understand and eliminates the 
> following bug:
> if(k=0)
> 
> Often S is like C, so I personally would prefer if R acted like C here.
> But chacun a son gout and de gustibus non disputandum.
> 

But we do have to take the disgusted disputes, don't we? I agree,
keep the C idioms in.

-- 
   O__  ---- Peter Dalgaard             Blegdamsvej 3  
  c/ /'_ --- Dept. of Biostatistics     2200 Cph. N   
 (*) \(*) -- University of Copenhagen   Denmark      Ph: (+45) 35327918
~~~~~~~~~~ - (p.dalgaard@biostat.ku.dk)             FAX: (+45) 35327907
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
r-testers mailing list -- To (un)subscribe, send
subscribe	or	unsubscribe
(in the "body", not the subject !)  To: r-testers-request@stat.math.ethz.ch
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-