Python是一种禅语吗? [英] Is Python a Zen language?

查看:117
本文介绍了Python是一种禅语吗?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

问候,

我将语言粗略分为两类:Zen

语言和工具语言。工具语言是一种语言,它是一个用于编程计算机的*工具*。 C是原型工具

语言。 Algol系列中的大多数语言都是工具语言。 Visual

Basic和Java也是工具语言。另一方面,Zen

语言是一种语言,据称可以改变你想要编程的方式。 Lisp,Scheme,Forth,Smalltalk和(也许)

C ++是Zen语言。弟子们承认,很难获得这些语言,但声称,如果你坚持下去,你就会更快或者稍后达到计算机状态的状态。

感。有趣的是,这些语言经常有书,这些书可以接受圣经的地位,例如:方案的SICP。


所以(假设我的分类有意义)哪个是Python?

强调简单性和初学者友好性似乎

把它放在工具类别中。另一方面,强调完成大部分任务以及参与者的倾向,这个新闻组批评彼此的代码是unpythonic

似乎将其推向了Zen类别。当然,即使是工具

语言都有新手需要学习的习语,所以也许

这不是决定性的,但我发现了一个热情的元素这个新闻组

我在(比方说)Excel VBA编程新闻组中没有发现。


我的分类不打算进行价值判断。没有

否认Zen语言通常是非常强大的工具(对于那些已经达到satori的人来说)并且有一个真正掌握的禅,比方说,

C.就个人而言,我从来没有能够掌握任何Zen语言,但

可以相当快地学习工具语言,所以我更喜欢工具语言。

这可能是因为我不是程序员(我是一名数学家,他/她是b $ b喜欢编程作为业余爱好和进行数值模拟)所以不要

有时间投资购买禅语。硬核黑客

可能可能倾向于禅语。


只是好奇


-John Coleman

解决方案

不知道但是有Zen of Python。


实际上,Python的区别在于它既是一个很棒的工具,又是一个很棒的Zen语言。这就是让Python变得如此酷的原因

;-)))

Ron Stephens

Python411
< a rel =nofollowhref =http://www.awaretek.com/python/index.htmltarget =_ blank> www.awaretek.com/python/index.html


Mu。


Greetings,
I have a rough classification of languages into 2 classes: Zen
languages and tool languages. A tool language is a language that is,
well, a *tool* for programming a computer. C is the prototypical tool
language. Most languages in the Algol family are tool languages. Visual
Basic and Java are also tool languages. On the other hand, a Zen
language is a language which is purported to transform your way of
thinking about programming. Lisp, Scheme, Forth, Smalltalk and (maybe)
C++ are Zen languages. Disciples acknowledge that it is difficult to
pick up these languages but claim that, if you persevere, you sooner or
later reach a state of computational satori in which it all makes
sense. Interestingly enough, these languages often have books which
approach scriptural status e.g. SICP for Scheme.

So (assuming my classification makes sense) which is Python? The
emphasis on simplicity and the beginner-friendly nature of it seems to
put it in the tool category. On the other hand, the emphasis on the ONE
TRUE WAY to accomplish most tasks and the tendency for participants in
this newsgroup to criticize one another''s code as being "unpythonic"
seems to move it towards the Zen category. Of course, even tool
languages have their idioms which the novice needs to pick up, so maybe
this isn''t decisive, but I detect an element of zeal in this newsgroup
that I don''t detect in (say) Excel VBA programming newsgroups.

No value judgement is intended by my classification. There is no
denying that Zen languages are often very powerful tools (for those who
have reached satori) and that there is a Zen to really mastering, say,
C. Personally, I have never been able to master any Zen language but
can pick up tool languages fairly quickly, so I prefer tool languages.
This is probably because I am not a programmer (I''m a mathematician who
likes to program as a hobby and for numerical simulations) and so don''t
have the time to invest in picking up a Zen language. Hard-core hackers
might presumably lean towards the Zen languages.

Just curious

-John Coleman

解决方案

don''t know but there is "Zen of Python".


Actually, Python has the distinction of being both a great tool
language *and* a great Zen language. That''s what makes Python so cool
;-)))

Ron Stephens
Python411
www.awaretek.com/python/index.html


Mu.


这篇关于Python是一种禅语吗?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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