News for hackers. Stuff that matters.
Re:Elm: declarative language that compiles to HTML, CSS and JS by desireco42 on Monday December 10, 2012 @04:56PM (#4901736)
I find language lacking, promise of single language to handle html, css and js is simply not delivered.

I kind of imagined something like components where you would have html, css and js and you can say

login_form = new loginForm(loginProcess)

where loginProcess would be callback that would get username and password... or something along those lines.

I guess those are html components that someone was writing about...

Re:Elm: declarative language that compiles to HTML, CSS and JS by larskinn on Monday December 10, 2012 @05:00PM (#4901745)
Callbacks are actually one of the things this is explicitly trying to avoid: http://elm-lang.org/learn/Escape-from-Callback-Hell.elm