(and scheme lisp) x Python and modern langs [was Re: gossip, Guy Steel, Lojban, Racket]

namekuseijin namekuseijin at gmail.com
Mon Sep 27 19:58:52 EDT 2010


On 27 set, 18:39, Xah Lee <xah... at gmail.com> wrote:
> On Sep 27, 12:11 pm, namekuseijin <namekusei... at gmail.com> wrote:
>
> > On 27 set, 16:06, Xah Lee <xah... at gmail.com> wrote:> 2010-09-27
>
> > > > For instance, this is far more convenient:
> > > > [x+1 for x in [1,2,3,4,5] if x%2==0]
> > > > than this:
> > > > map(lambda x:x+1,filter(lambda x:x%2==0,[1,2,3,4,5]))
>
> > > How about this:
>
> > [snip]
>
> > how about this:  read before replying.
>
> hum???
>
> i read your post quite carefully, and rather thought i replied well.

I don't think so.  You completely missed the point where I agreed
about filter map being more convenient when calling predefined
functions and also the detailed explanation of why do in scheme is not
imperative at all.



More information about the Python-list mailing list