Re:Python 3 can revive Python
by oleyb on Tuesday May 27, 2014 @01:34AM
(#7803047)
ECMAScript 6 has generators, and they are already available in Node.js.
[ Parent
| on HN ]
Javascript seems to go the opposite way of python: instead of ironing the warts out, it adds them. The DOM-API is nonsensical and ugly? Why not add language features so we can implement it in pure JS? Sounds like a great idea.
Re:Python 3 can revive Python
by mikegirouard on Tuesday May 27, 2014 @05:24AM
(#7803610)
While I agree mostly with your point, I think the DOM example isn't going to work. The DOM is a spec and doesn't really have anything to do with JavaScript.
The DOM API has nothing to do with JS.
Re:Python 3 can revive Python
by JeremyBanks on Tuesday May 27, 2014 @04:53AM
(#7803543)
How does that relate to ES6 generators?