Re: [R] The use of F for False and T for True

From: hadley wickham <h.wickham_at_gmail.com>
Date: Mon, 17 Nov 2008 07:03:31 -0600

On Sun, Nov 16, 2008 at 7:41 PM, Simon Blomberg <s.blomberg1_at_uq.edu.au> wrote:
> It is better programming practice to use FALSE for false and TRUE for
> true, and not F and T. This is because it is quite legal to do this:
>
> T <- FALSE
> F <- TRUE

It may be better programming practice, but is it better interactive data analysis practice? R isn't just a programming language, and there are lots of good reasons to provide shortcuts that reduce typing. It's very easy to forget that most people can't touch type at a decent speed, and every key press less helps them get their ideas from their head to the computer faster.

Hadley

-- 
http://had.co.nz/

______________________________________________
R-help_at_r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.
Received on Mon 17 Nov 2008 - 13:07:05 GMT

Archive maintained by Robert King, hosted by the discipline of statistics at the University of Newcastle, Australia.
Archive generated by hypermail 2.2.0, at Tue 18 Nov 2008 - 00:30:26 GMT.

Mailing list information is available at https://stat.ethz.ch/mailman/listinfo/r-help. Please read the posting guide before posting to the list.

list of date sections of archive