map / filter / reduce / lambda意见和背景unscientificmini-survey [英] map/filter/reduce/lambda opinions and background unscientificmini-survey

查看:62
本文介绍了map / filter / reduce / lambda意见和背景unscientificmini-survey的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

同志们,


在我们目前关于

python中功能结构命运的讨论中,有人提出了Guido对此事的看法:

http:// www。 artima.com/weblogs/viewpost.jsp?thread=98196

他说他将处理地图,过滤,减少和lambda。他会给我们提供产品,不管是什么,不管怎么说,这对他来说很好。


但是,真正令我印象深刻的是摘要的最后一行:


我希望反馈中有很多不同意见,所有这些都来自前Lisp-or-Scheme

人。 : - )


我不同意Guido的提议,我不是前Lisp,

-Scheme或-any-其他功能语言程序员;我唯一的其他真正的

语言是Java。我想知道我是不是一个异常值。


所以,如果你是一个热爱地图和lambda的pythonista,并且不同意

Guido,你的背景是什么?功能与否?


tom


-

蝙蝠侠永远胜利

Comrades,

During our current discussion of the fate of functional constructs in
python, someone brought up Guido''s bull on the matter:

http://www.artima.com/weblogs/viewpost.jsp?thread=98196

He says he''s going to dispose of map, filter, reduce and lambda. He''s
going to give us product, any and all, though, which is nice of him.

What really struck me, though, is the last line of the abstract:

"I expect tons of disagreement in the feedback, all from ex-Lisp-or-Scheme
folks. :-)"

I disagree strongly with Guido''s proposals, and i am not an ex-Lisp,
-Scheme or -any-other-functional-language programmer; my only other real
language is Java. I wonder if i''m an outlier.

So, if you''re a pythonista who loves map and lambda, and disagrees with
Guido, what''s your background? Functional or not?

tom

--
Batman always wins

推荐答案

大家好 -


Tom Anderson写道:
Hi All--

Tom Anderson wrote:

同志们,
我希望反馈中存在大量分歧,所有这些都来自前Lisp-or-Scheme
人员。 : - )"

我强烈反对Guido的提议,我不是一个前Lisp,
-Scheme或-any-other-functional-language程序员;我唯一的其他真正的语言是Java。我想知道我是不是一个异常值。

所以,如果你是一个热爱地图和lambda的pythonista,并且不同意Guido,你的背景是什么?功能与否?

Comrades,

"I expect tons of disagreement in the feedback, all from ex-Lisp-or-Scheme
folks. :-)"

I disagree strongly with Guido''s proposals, and i am not an ex-Lisp,
-Scheme or -any-other-functional-language programmer; my only other real
language is Java. I wonder if i''m an outlier.

So, if you''re a pythonista who loves map and lambda, and disagrees with
Guido, what''s your background? Functional or not?




我是一个不爱他们的蟒蛇人。事实上,尽管我已经完成了比使用lambda的lambda Tkinter编程的公平份额,但是我从未对lambda感到高兴。我已经花了好几个月的时间来讨论这个问题(我有世界上第二大的.emacs

档案[我的朋友安迪] Glew拥有最大的],即使我不能在Windows上使用它/ b $ b ;-)。我发现列表推导比

map更容易理解,而且小的命名函数或更好的类方法,*吨*

比lambda更容易阅读/理解 - 有太多的限制

你必须要记住。


就个人而言,我发现Lisp&它的衍生物把你的头放在一个非常好的地方。甚至比PostScript / Forth / RPN更怪异,当你来到它时,它是



我不会想念它们,但是因为我不喜欢它们现在不用它们,这并不代表




Metta,

伊万
--------------------------------------------- -

Ivan Van Laningham

God N机车工程
http://www.andi-holmes.com/
http://www.foretec.com/python/worksh...oceedings.html

陆军通信兵团: Cu Chi,'70的分类

作者:24小时自学Python



I''m a pythonista who doesn''t love them. In fact, even though I''ve done
more than my fair share of lambda Tkinter programming using lambdas,
I''ve never been happy with lambda. And I''ve spent months inside of
Lisp/Emacs Lisp/Scheme, too (I have the world''s second largest .emacs
file [my friend Andy Glew has the largest], even though I can''t use it
on Windows;-). I find list comprehensions easier to understand than
map, and small named functions or, better yet, class methods, *tons*
easier to read/understand than lambda--there are too many restrictions
you have to remember.

Personally, I find that Lisp & its derivatives put your head in a very
weird place. Even weirder than PostScript/Forth/RPN, when you come
right down to it.

I won''t miss them, but since I don''t use them now, that doesn''t mean a
whole lot.

Metta,
Ivan
----------------------------------------------
Ivan Van Laningham
God N Locomotive Works
http://www.andi-holmes.com/
http://www.foretec.com/python/worksh...oceedings.html
Army Signal Corps: Cu C Class of ''70
Author: Teach Yourself Python in 24 Hours


[Ivan Van Laningham]
[Ivan Van Laningham]
[汤姆安德森]
[Guido]
我预计反馈意见中存在大量分歧,全部来自前Lisp-or-Scheme
人员。 : - )"
我不同意Guido的提议,我不是前Lisp,
-Scheme或-any-other-functional-language程序员;我唯一的其他
真正的语言是Java。我想知道我是不是一个异常值。
所以,如果你是一个喜欢地图和lambda的pythonista,并且不同意Guido,你的背景是什么?功能与否?
[Guido] "I expect tons of disagreement in the feedback, all from ex-Lisp-or-Scheme
folks. :-)" I disagree strongly with Guido''s proposals, and i am not an ex-Lisp,
-Scheme or -any-other-functional-language programmer; my only other
real language is Java. I wonder if i''m an outlier. So, if you''re a pythonista who loves map and lambda, and disagrees
with Guido, what''s your background? Functional or not?


我是一个不爱他们的蟒蛇人。


同样在这里。 lambda可能会消失。然而``map''有时是有用的......

我已经花了好几个月在Lisp / Emacs中使用Lisp / Scheme [...]


我在Lisp / Scheme / Emacs-Lisp工作了几十年。

此外,对于不寻常的机器,我实施了几次Lisps。

(我有世界第二大.emacs文件[我的朋友Andy Glew
拥有最大的],即使我不能在Windows上使用它;-)。


你是一个无耻的lier! :-)它只是_cannot_击败我的大小,

至少不久前我仍然是一个Emacs用户。尽管它的尺寸是b $ b,但我的.emacs在很多系统上工作,包括Windows。

就个人而言,我发现Lisp&它的衍生物把你的头放在一个非常奇怪的地方。

I''m a pythonista who doesn''t love them.
Same here. `lambda'' could go away. Yet `map'' is sometimes useful...
And I''ve spent months inside of Lisp/Emacs Lisp/Scheme [...]
I worked on Lisp / Scheme / Emacs-Lisp for many dozens of years.
Moreover, a few times for unusual machines, I implemented Lisps.
(I have the world''s second largest .emacs file [my friend Andy Glew
has the largest], even though I can''t use it on Windows;-).
You are a shameless lier! :-) It just _cannot_ beat the size of mine, at
least not so long ago when I still was an Emacs user. And despite its
size, my .emacs worked on a lot of systems, Windows included.
Personally, I find that Lisp & its derivatives put your head in a very
weird place.




Lisp / Scheme都很好!可用于广泛的应用,

包括系统'' - 通过适当的选择,它们可以相当快速

。然而,对于无处不在的日常工作,Python更好! :-)


-

Fran?ois Pinard http://pinard.progiciels-bpi.ca


好像他希望python程序员解决他们所有的问题

同样的方式。虽然这对于公司奴隶来说非常好,但对于

创意程序员来说这是非常糟糕的。

Python正在迅速成为21世纪的视觉基础。如果你想在完成一些工作的同时获得乐趣,你需要在其他地方寻找乐趣。这是耻辱......
Seems like he wants python programmers to solve their problems all in the
same way. While that is great for corporate slaves it is terrible for the
creative programmer.
Python is quickly becoming the visual basic of the 21 century. If you want
to have fun while getting some work done you need to look elsewhere. It''s a
shame...


这篇关于map / filter / reduce / lambda意见和背景unscientificmini-survey的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆