News for hackers. Stuff that matters.
Re:Elm: declarative language that compiles to HTML, CSS and JS by MattRogish on Monday December 10, 2012 @02:59PM (#4901196)
MVC web app development test-driven development has always bothered me. I can easily test my models/controllers but to verify that the app HTML isn't borked I have to rely on strict HTML compilation tools (like HAML) and/or slow/painful frontend integration tests that require button clicking, HTML parsing, and form-element filling.

I've always wanted a higher-level way to author and test HTML and I always come back to a more programmatic/declarative way of generating HTML as the best way. I'm not sure if Elm is the answer but I think it's at least a good discussion starter.

Re:Elm: declarative language that compiles to HTML, CSS and JS by blake8086 on Monday December 10, 2012 @04:30PM (#4901613)
You could build your HTML as a hierarchical data structure instead of a string.