TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

Ask HN: How does one auto format code in CoffeeScript?

6 pointsby dotborgover 12 years ago

1 comment

adambrodover 12 years ago
I'm a CoffeeScript newb, so take this with a grain of salt ;)<p>You really don't want to just do a quick convert, you're not going to get the most out of it. CoffeeScript has an idiomatic way of writing it, and I haven't seen anything that can match hand coding. <a href="http://arcturo.github.com/library/coffeescript/04_idioms.html" rel="nofollow">http://arcturo.github.com/library/coffeescript/04_idioms.htm...</a><p>You can use something like <a href="http://js2coffee.org/" rel="nofollow">http://js2coffee.org/</a> , and it's OK, but it doesn't always make the best choice.<p>Hope this helps, and I can't wait to see what the 'pros' think!
评论 #4536995 未加载