Javascript is turning into Python?!
Fredrik Lundh
fredrik at pythonware.com
Fri Nov 3 02:58:36 EST 2006
Paul Rubin wrote:
> I hadn't seen this before. New Javascript 1.7 features:
>
> - Generators
> - Iterators
> - Array comprehensions
> - Destructuring assignment
>
> Sounds like another language we know.
>
> http://developer.mozilla.org/en/docs/New_in_JavaScript_1.7
http://weblogs.mozillazine.org/roadmap/archives/2006/02/js_and_python_news.html
> Given the years of development in Python and similarities to
> ECMAScript in application domains and programmer communities, we would
> rather follow than lead. By standing on Python's shoulders we reuse
> developer knowledge as well as design and implementation experience.
> The trick then becomes not borrowing too much from Python, just enough
> to gain the essential benefits: structured value-generating
> continuations and a general iteration protocol.
</F>
More information about the Python-list
mailing list