Re: Why (or not) use single letter variable names?
From: Ben Pfaff (blp_at_cs.stanford.edu)
Date: 12/10/04
- Next message: John Schoenfeld: "Re: Recent resolution of issues"
- Previous message: John Schoenfeld: "Re: .99999... still=/= 1"
- Next in thread: Bart Goddard: "Re: Why (or not) use single letter variable names?"
- Maybe reply: Bart Goddard: "Re: Why (or not) use single letter variable names?"
- Maybe reply: fishfry: "Re: Why (or not) use single letter variable names?"
- Maybe reply: AngleWyrm: "Re: Why (or not) use single letter variable names?"
- Maybe reply: David C. Ullrich: "Re: Why (or not) use single letter variable names?"
- Maybe reply: Alain Verghote: "Re: Why (or not) use single letter variable names?"
- Maybe reply: Richard Mathar: "Re: Why (or not) use single letter variable names?"
- Maybe reply: Herman Rubin: "Re: Why (or not) use single letter variable names?"
- Maybe reply: Ross A Finlayson: "Re: Why (or not) use single letter variable names?"
- Maybe reply: Herman Rubin: "Re: Why (or not) use single letter variable names?"
- Maybe reply: Shmuel (Seymour J.) Metz: "Re: Why (or not) use single letter variable names?"
- Maybe reply: Shmuel (Seymour J.) Metz: "Re: Why (or not) use single letter variable names?"
- Maybe reply: KRamsay: "Re: Why (or not) use single letter variable names?"
- Maybe reply: KRamsay: "Re: Why (or not) use single letter variable names?"
- Maybe reply: Shmuel (Seymour J.) Metz: "Re: Why (or not) use single letter variable names?"
- Messages sorted by: [ date ] [ thread ]
Date: Fri, 10 Dec 2004 13:48:34 -0800
"Dan Piponi" <google01@sigfpe.com> writes:
> Why do mathematicians use single letter variable names (even when their
> work is intended to be read by others) when programmers are typically
> taught to use descriptive variable names?
Mathematicians don't just write equations down on paper (or
computer). They write papers that include equations. The papers
(should) do a good job of explaining the variables.
Programmers write code that is usually meant to be
self-explanatory. They don't usually intend their code to be
part of an explanatory paper (literate programs excepted). If
they use long variable names, then their programs need fewer
comments.
-- Ben Pfaff email: blp@cs.stanford.edu web: http://benpfaff.org
- Next message: John Schoenfeld: "Re: Recent resolution of issues"
- Previous message: John Schoenfeld: "Re: .99999... still=/= 1"
- Next in thread: Bart Goddard: "Re: Why (or not) use single letter variable names?"
- Maybe reply: Bart Goddard: "Re: Why (or not) use single letter variable names?"
- Maybe reply: fishfry: "Re: Why (or not) use single letter variable names?"
- Maybe reply: AngleWyrm: "Re: Why (or not) use single letter variable names?"
- Maybe reply: David C. Ullrich: "Re: Why (or not) use single letter variable names?"
- Maybe reply: Alain Verghote: "Re: Why (or not) use single letter variable names?"
- Maybe reply: Richard Mathar: "Re: Why (or not) use single letter variable names?"
- Maybe reply: Herman Rubin: "Re: Why (or not) use single letter variable names?"
- Maybe reply: Ross A Finlayson: "Re: Why (or not) use single letter variable names?"
- Maybe reply: Herman Rubin: "Re: Why (or not) use single letter variable names?"
- Maybe reply: Shmuel (Seymour J.) Metz: "Re: Why (or not) use single letter variable names?"
- Maybe reply: Shmuel (Seymour J.) Metz: "Re: Why (or not) use single letter variable names?"
- Maybe reply: KRamsay: "Re: Why (or not) use single letter variable names?"
- Maybe reply: KRamsay: "Re: Why (or not) use single letter variable names?"
- Maybe reply: Shmuel (Seymour J.) Metz: "Re: Why (or not) use single letter variable names?"
- Messages sorted by: [ date ] [ thread ]
Relevant Pages
|