News for hackers. Stuff that matters.
Re:Tell HN: Meet CoffeeScript by 10ren on Monday February 15, 2010 @03:15AM (#1126142)
To make the line numbers in JS error messages more informative, you could make the line numbers coincide.

i.e. by minifying the JS where coffee:js lines are 1:m and adding blanks when m:1, instead of always pretty-printing.

It's a trade-off of js-readability for error-readability - a hard call, but very cool to be able to go directly to the line in question.

Re:Tell HN: Meet CoffeeScript by jashkenas on Monday February 15, 2010 @07:51AM (#1126458)
Ah yes, we have a ticket for this.

http://github.com/jashkenas/coffee-script/issues/issue/132

Now that there's the self-compiler that can be run without ever saving the compiled JavaScript as a file, this becomes far more important.