Re: finding common words

From: Hunter Johnson (hunter_at_hunterandlori.com)
Date: 02/24/04


Date: 24 Feb 2004 11:34:45 -0800

Uri Guttman <uri@stemsystems.com> wrote in message news:<x74qth75vw.fsf@mail.sysarch.com>...
> i was never really upset about the efficiency issue which has been
> changed. i didn't like the semantic problem of throwing away the list
> that map is supposed to make. now the docs will say there is no
> generated list in void context so that may be harder to argue. but i
> still say that map tells the reader a list is being made so look for
> it.

If the docs say there is no list generated, how is map going to tell
the reader that the docs are wrong?

If a reader reads something extra into what's written (like "here
comes a list" when none is coming), how is that more the writer's
problem than the reader's? Either the writer can write it differently
(using 'for' in this case) or the reader can read it differently. I
don't see how the former is the only right answer.

(And since she's been mentioned here several times, here's a link to
Abigail's post on the topic, from November: http://tinyurl.com/2po9x )

Hunter

--
http://www.hunterandlori.com


Relevant Pages

  • Re: finding common words
    ... i didn't like the semantic problem of throwing away the list ... >> that map is supposed to make. ... >> generated list in void context so that may be harder to argue. ... HJ> the reader that the docs are wrong? ...
    (comp.lang.perl.misc)
  • Re: finding common words
    ... > HJ> If the docs say there is no list generated, how is map going to tell ... > it is a semantic communication to the reader of the code. ... > responsibility to convey as much accurate information to ... now -- no list in void context means that programmers can (and should, ...
    (comp.lang.perl.misc)
  • Re: converting a sed / grep / awk / . . . bash pipe line into python
    ... use of map() and just write: ... The potential unpack and conversion errors exist ... by the shared error handling. ... a reader of the code to follow what it's doing. ...
    (comp.lang.python)
  • Re: Map Endpapers!
    ... How significant are map endpapers, ... I find it interesting when a publisher puts different map ... I think that much of the time when a dealer mentions "map endpapers", he/she is trying to make sure the reader understands which edition is on offer. ...
    (rec.collecting.books)