Re: Inconsistent Program Results
- From: jaysome <jaysome@xxxxxxxxxxx>
- Date: Thu, 08 Mar 2007 01:55:59 -0800
On Thu, 08 Mar 2007 08:29:46 +0000, Richard Heathfield
<rjh@xxxxxxxxxxxxxxx> wrote:
Francine.Neary@xxxxxxxxxxxxxx said:
[snip]
No - *bad* precedents. But at least everyone knows what those things do.
The object and purpose of the rdinpt function is not hanging on the
lips of every C student, so they are less likely to know what it means
than they are to know what, say, strspn means. Good name choice is an
important part of programming, but it seems to be a part that wasn't as
well-understood when functions like strspn were being coined.
And the object and purpose of the readinput function is not
necessarily hanging on the lips of every C student, especially those
who play Scrabble and wonder if it means "re-address input" or "read
in put" or "readin' put". Scrabble players tend to have some wild
thoughts. It's best to make it unambiguous and name it read_input.
Regards
--
jay
.
- References:
- Inconsistent Program Results
- From: Francine . Neary
- Re: Inconsistent Program Results
- From: Richard Heathfield
- Re: Inconsistent Program Results
- From: Francine . Neary
- Re: Inconsistent Program Results
- From: Keith Thompson
- Re: Inconsistent Program Results
- From: Francine . Neary
- Re: Inconsistent Program Results
- From: Richard Heathfield
- Inconsistent Program Results
- Prev by Date: Re: Inconsistent Program Results
- Next by Date: Re: tricky question
- Previous by thread: Re: Inconsistent Program Results
- Next by thread: Re: Inconsistent Program Results
- Index(es):
Relevant Pages
|