search for: pascalian

Displaying 3 results from an estimated 3 matches for "pascalian".

Did you mean: pascalau
2000 Oct 03
1
(fwd) Re: the underscore ("_") in variable name
...39;s an assignment. On the other hand, both "<" and "-" have multiple other uses. This leads to lots of possibilities for confusion: x <--5 x < -5 x <- 5 are easily confused, whereas x _-5 x < -5 x _ 5 are not. (Of course, I actually prefer the Pascalian :=, but I realize that puts me in a double minority :-). Duncan Murdoch -.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.- r-help mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html Send "info", "help", or "[un]subscribe"...
2000 Oct 03
1
(fwd) Re: the underscore ("_") in variable name
...; > Those are classic examples. Nevertheless, "<-" is more appealing visually than "_" > as an assignment operator, mainly because "_" is used in file and variable names > in other programming languages. > > > (Of course, I actually prefer the Pascalian :=, but I realize that > > puts me in a double minority :-). > > > > Here I agree with you. I think that future releases of R should have "=" as the > assignement operator, just like the last version of S. Note, "=" is *one of* the allowed assignment oper...
2000 Oct 03
1
(fwd) Re: the underscore ("_") in variable name
...x <- 5 > > are easily confused, whereas > > x _-5 > x < -5 > x _ 5 > > are not. No problems if your space key is actually working and you know how to use it and (I suppose) care about communicating to your audience. > (Of course, I actually prefer the Pascalian :=, but I realize that > puts me in a double minority :-). My main objection is to the use of _ without spaces. Every week or so I misread a post on R-help or S-news because the code is lacking spaces and I parse it wrongly, and I know I am not alone from the frequent remarks from other reade...