Ted Zlatanov said:
On 14 Aug 2006, (e-mail address removed)-berlin.de wrote:
[snip]
Those are excellent points, Anno. In my experience map() and grep()
are very difficult for beginners, ...
[...]
Sadly, my second example in the article uses map() for the side
effect. The shame!
You are in very good company there. Abigail will defend everyone's
right to use map() in void context. Also, AFAIK Tassilo's patch
is in place, which suppresses the building of a list in scalar and
void context.
Anyhow, I'm just saying that I do agree with you, but think it's good
to either comment well or consider a simpler approach when you're
putting together FP and a beginner
There have been courses for beginning programmers taught in Lisp,
so it can't be impossible. (I have no idea how successful these
courses were.)
Anyway, on clpm I don't necessarily post with an audience of beginners
in mind. Even if a majority of potential readers are beginners, the
highly significant minority of regulars (including regular lurkers)
are not. Clpm gives me the echo (or lack thereof) of programmers whose
skill I know. Selfishly, I want it to my original solution, not some
toned-down version in usum infanti.
I also value the comments by beginners to advanced code. The best
are, of course, of the "Please explain" nature. No, wrong, the best
ones would be "Oh, that's how it's done", but then people understandably
often move on without posting. "Please explain" means someone wants
to learn, which is good. Often I find someone else has given an
excellent explanation when I come back, which is also good

Even
bad-tempered or hostile replies show me I have overstepped someone's
limit, not that I necessarily care.
So I think that posting advanced code serves a useful purpose in the
group, even if it is over the head of parts of the audience. As they
say, there's always the "n" key...
Anno