- 论坛徽章:
- 0
|
python的缺点
第1点,只用过Zope2.7,没有更新过,没有体会。
第2点,同意楼上的看法。引用"Learning Python"中的话:
如果你是一个C或Pascal程序员的话这可能十分新奇,Python的缩进语法实际上是建立在对非程序员的易用性的研究结果上的。Python的语法通常被称为语言的“所见即所得”,它可以保持一致的代码外观,有助于可读性,并可避免普通的C/C++错误。
英文原文
It's probably more novel if you're a C or Pascal programmer. Python's indentation-based syntax is actually based on the results of a usability study of nonprogrammers, conducted for the ABC language. Python's syntax is often called the "what you see is what you get" of languages; it enforces a consistent appearance that tends to aid readability and avoid common C and C++ errors. |
|