News for hackers. Stuff that matters.
Re:Show HN: My new JavaScript MVC framework by lhorie on Tuesday March 18, 2014 @09:31PM (#7426303)
I think you're too caught up on syntax and missing the big picture. The m() method is simply a helper utility that returns a POJO. You can write the code in coffeescript if js syntax bother you, or you can go nuclear and implement a frontend or a preprocessor that take some popular templating syntax and spit out the appropriate data structure. The conversion tool I provide is a small step in that direction, but, with Mithril being at a mere v0.1, it still needs more work done to be fully automated.

Also, just FYI, the selector syntax follows CSS rules, so you'd write m("body.application"), not m("body class='application'")

Re:Show HN: My new JavaScript MVC framework by ulisesrmzroche on Wednesday March 19, 2014 @10:23AM (#7428769)
Programs are for humans to read and only incidentally for computers to execute. Syntax is the whole picture.
Re:Show HN: My new JavaScript MVC framework by lhorie on Wednesday March 19, 2014 @10:47AM (#7428928)
Well, I already told you which directions Mithril can go in terms of making syntax more to your liking. If you're too put off by js templates and not willing to spend time helping push the project in a direction you like, you can always try other frameworks or come back later when I have a more HTMLy frontend option available.