Python 3.0 migration plans?

TheFlyingDutchman zzbbaadd at aol.com
Fri Sep 28 20:44:06 CEST 2007


On Sep 28, 11:21 am, "Francesco Guerrieri" <f.guerri... at gmail.com>
wrote:
> On 9/28/07, TheFlyingDutchman <zzbba... at aol.com> wrote:
>
> > On Sep 28, 10:57 am, Steve Holden <st... at holdenweb.com> wrote:
> > > This is like listening to a four-year-old torment its parents with
> > > incessant questions. Do you *have* to ask every question that pops into
> > > your mind?
>
> > In this case I asked it as part of the original question and it was
> > ignored. I have programmed in C and C++ and a little Pascal many years
> > ago. I don't remember anything about Higher Order Functions and would
> > like to see exactly how you do it and to verify the contention.
>
> You could just google for it. Just in case your connection to google
> or other similar search engines has been disabled for some reason,
> here are some links.
>
> Try for instance
>
> http://okmij.org/ftp/c++-digest/Lambda-CPP-more.html#Ex3
>
> or
>
> http://www.cc.gatech.edu/~yannis/fc++/
>
> or
>
> http://www.boost.org/libs/mpl/doc/tutorial/higher-order.html
>
Correct me if I am wrong, but none of those examples showed something
in C++ similar to a decorator in Python - that is, unique syntax in
the language for implementing a Higher Order Function. One thing I
will say about those examples is that they make Python decorators look
sweet!




More information about the Python-list mailing list