Забавная статья о Python и не только
http://www.artima.com/weblogs/viewpost.jsp?thread=214112
Bruce Eckel- это самая веская причина рефакторинга/реорганизации ядра языка.
I know that true concurrency support – the ability to run pieces of a program on multiple processors – is hard in a dynamic language. Although they both have threads, neither Python nor Ruby is able to actually allocate those threads to multiple processors. The threading is just for code organization and to handle blocking operations. Ruby and Python are prevented from using multiple cores because they both suffer from the global interpreter lock problem.
But right now we are on the brink of a huge potential gain for dynamic languages, with the advent of multi-core systems. Here's the place where the performance impact of dynamic languages, so often used as an excuse to avoid them, could be erased. Multicores could be what brings dynamic languages into their heyday, and could relegate languages like Java and C++ as “what you use for writing small pieces of your application, only if you absolutely must.”
Bruce EckelВот именно. А сейчас Яйца неочевидны. Незнаю, может быть я один их терпеть не могу, но они должны стать лучше. И ведь надо привыкать - вон, Zope 3 вот-вот весь пересядет на яйца. За ним и другие последуют.
I'm hoping that this is just an issue of “waiting for maturity,” but we need to make support for Python Eggs and Easyinstall part of the python distribution. Easy installation and update of library components should not require effort or be a distraction.
Benjamin Peterson:lol: :lol: :lol:
Well, as Guido said in his preface to Python Programming (Lutz), he's not going to get everything right in Python 3000 so there's always Python 4000…
Luciano Romalho7) Еще по поводу IDE:
About self:
Unlike Ruby, Python does not want to be a “pure” OO language (whatever that means). Python is a multi-paradigm or paradigm-agnostic language, and that is something that many of us like about it. The explicit use of self makes the OO and the functional styles work well together.
t = &switch val ,
1: 'one',
2: 'two',
3: 'three',
:val > 3: 'too big num',
:val < 1: 'too small num'