News for hackers. Stuff that matters.
Re:CoffeeKup is markup as CoffeeScript by ehutch79 on Wednesday December 26, 2012 @10:02PM (#4972151)
Is this serious?
Re:CoffeeKup is markup as CoffeeScript by codewright on Wednesday December 26, 2012 @10:26PM (#4972220)
Re:CoffeeKup is markup as CoffeeScript by Posibyte on Wednesday December 26, 2012 @10:08PM (#4972162)
I don't see why not. What's wrong with it?
Re:CoffeeKup is markup as CoffeeScript by ehutch79 on Wednesday December 26, 2012 @10:18PM (#4972187)
Very subjective, but I feel like if you're going to write HTML, you should just write HTML. (or possibly something like markup or restructured text)

I just feel like writing code to generate document markup doesn't really fit the model of what it is. I can understand why coffeescript -> javascript fits the same mental models though.

Re:CoffeeKup is markup as CoffeeScript by treeform on Wednesday December 26, 2012 @10:34PM (#4972239)
I agree with you if you need a template for a blog or sales pages or some other light markup. But if you have very complex HTML that renders controls, graphs, crud - dense complex things which are less HTML and more of rendering commands in form of stacked divs. Then this wins out.
Re:CoffeeKup is markup as CoffeeScript by at-fates-hands on Wednesday December 26, 2012 @10:36PM (#4972244)
For me, its kind of redundant. Also, I've been mind melded into an MVC mindset and can't see how this would be helpful to me.

Is there any speed gains in terms of page weight or loading times?

Re:CoffeeKup is markup as CoffeeScript by treeform on Wednesday December 26, 2012 @10:41PM (#4972250)
I dont have any numbers to back this up but: * templates get compiled to js * there is no magic the code you write is the code that runs

It feels faster because there is no interface between you and the template language - because there is no language its just coffee script.