Hacker News new | comments | show | ask | jobs | submit login

You realize that this is nothing like CoffeeScript, except in compiling to JavaScript? The point of CoffeeScript is to iron out the kinks in JavaScript--it's basically JavaScript polished up in slightly different clothes.

This language, on the other hand, is completely different from JavaScript. Writing functional, reactive code is entirely dissimilar from writing idiomatic JavaScript. This isn't an attempt to make JavaScript easier to write--it's an attempt to bring an entirely different paradigm to the web.

Not only is the language completely different from JavaScript, but it also brings a new way of interacting with the DOM. Reactive programming can be used to model interfaces very neatly; it is probably a better way to interact with a web page than the DOM.

I suspect people used to OOP languages will (at least at first) find this one harder to use that JavaScript. On the other hand, the sort of people who are already using Haskell and the like will enjoy it. Also, a functional language like this tends to have more concise code and fewer opportunities for error--mutation is at the heart of a large number of bugs; limiting it removes most of these bugs.

Finally, just because JavaScript is already easy doesn't mean it couldn't be improved. In my experience, I tend to solve problems faster in Haskell than JavaScript; bringing that sort of programming to the web could make me a more productive web developer.

mutation is at the heart of a large number of bugs

You mean like this? http://fallout.wikia.com/wiki/Giant_ant_(Fallout_3)

I couldn't have said it better myself. Thanks for backing me up :)

Guidelines | FAQ | Support | API | Security | Lists | Bookmarklet | DMCA | Apply to YC | Contact