Dictionary from list?

Ivan A. Vigasin vig at ParallelGraphics.COM
Fri Oct 19 10:20:10 EDT 2001


On Fri, 19 Oct 2001, Michael Hudson wrote:

> > Idea is great!
> You mean that for real?  I think it's foul.  It abuses the
> implementation details of reduce to do something that function was
> never intended to do.
I mean, that I never thought, that reduce can be used this way.

> > It comes from functional programming?
> No.  There are side-effects all over the place!
You right. There are side-effects, but people, who never heard about FP just use loops in such case.

> Just in case anyone hasn't got the message yet:
>
> THE CODE I POSTED WAS DISGUSTING.  DON'T EMULATE IT.
> THE CODE I POSTED WAS DISGUSTING.  DON'T EMULATE IT.
> THE CODE I POSTED WAS DISGUSTING.  DON'T EMULATE IT.
> THE CODE I POSTED WAS DISGUSTING.  DON'T EMULATE IT.
> THE CODE I POSTED WAS DISGUSTING.  DON'T EMULATE IT.
> THE CODE I POSTED WAS DISGUSTING.  DON'T EMULATE IT.
> THE CODE I POSTED WAS DISGUSTING.  DON'T EMULATE IT.
> THE CODE I POSTED WAS DISGUSTING.  DON'T EMULATE IT.
> THE CODE I POSTED WAS DISGUSTING.  DON'T EMULATE IT.
> THE CODE I POSTED WAS DISGUSTING.  DON'T EMULATE IT.
> THE CODE I POSTED WAS DISGUSTING.  DON'T EMULATE IT.
> THE CODE I POSTED WAS DISGUSTING.  DON'T EMULATE IT.
> THE CODE I POSTED WAS DISGUSTING.  DON'T EMULATE IT.
> THE CODE I POSTED WAS DISGUSTING.  DON'T EMULATE IT.
> THE CODE I POSTED WAS DISGUSTING.  DON'T EMULATE IT.
> THE CODE I POSTED WAS DISGUSTING.  DON'T EMULATE IT.
I see.
I see.
I see.
I see.
I see.
I see.
I see.
I see.
I see.
I see.
I see.
I see.
I see.
I see.
I see.
I see.
I see.
I see.
I see.
I see.
I see.
I see.
I see.
I see.
I see.
I see.
I see.
I see.
I see.
I see.
I see.
I see.
I see.
I see.
I see.
I see.
I see.
I see.
I see.
I see.
I see.
I see.
I see.
I see.
I see.

Regards, Ivan <vig at parallelgraphics.com>
ICQ: 22181170





More information about the Python-list mailing list