Hacker News new | ask | show | jobs
by vijayr 3745 days ago
No clue about elm - could you please share why it is good?

Wow, there are so many JS libraries today - even just making a list is a big task in itself :(

2 comments

Well, good is a subjective term, but this demo of its debugger [1] certainly peaked my interest :) I even has live examples with hot-swapable code (that is opensource if you'd like touse it.)

But it is not a library. So if you would want a list of pros/cons you'd need to compare it to other compile-to-js languages.

Its purpose seems to be creating reactive web-based UI. Basic building block is converting event-stream of user input into an event-stream of html, simplest example probably were [2]

Ok, it might be web-gl as well :) And it is type-checked if that is your jam, but has decent type inference if you don't like writing types explicitly.

[1] http://elm-lang.org/blog/time-travel-made-easy [2] http://elm-lang.org/examples/mouse-position

Elms isn't a JS library, it's a completely separate language that happens to compile to JS.