Hacker News .hnnew | past | comments | ask | show | jobs | submitlogin

How is it "much more developed", without providing generators, coroutines, or comprehensions?

Just having to use functions to emulate all of these (and many more) is not what functional programming is all about.



ECMAScript 6 has generators, and they are already available in Node.js.


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.


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.


How does that relate to ES6 generators?




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: