TE
科技回声
首页24小时热榜最新最佳问答展示工作
GitHubTwitter
首页

科技回声

基于 Next.js 构建的科技新闻平台,提供全球科技新闻和讨论内容。

GitHubTwitter

首页

首页最新最佳问答展示工作

资源链接

HackerNews API原版 HackerNewsNext.js

© 2025 科技回声. 版权所有。

CoffeeScript 1.1.0 released

95 点作者 TrevorBurnham大约 14 年前

6 条评论

jashkenas大约 14 年前
If you're (re-)installing it with the newly launched npm 1.0, remember to use the -g flag to make the "coffee" command available systemwide.
评论 #2505307 未加载
rdtsc大约 14 年前
Features summary (others seem like bug fixes):<p>* Output in the REPL is now colorized, like Node's is.<p>* All text/coffeescript tags should now execute in the order they're included.<p>* Function calls can be used as default values for parameters.<p>* Splatted parameters are declared local to the function.
评论 #2505107 未加载
TrevorBurnham大约 14 年前
The previous version was 1.0.1. Mostly minor changes; nothing likely to break existing code. The REPL is dramatically improved.
评论 #2503593 未加载
edw大约 14 年前
I've looked into CoffeeScript, and while I really like the sentiment—routing around JavaScript's warts—I fundamentally disagree with the technique employed to achieve the goal.<p>What the world needs is <i>less</i> syntax, not more. Perl, Ruby, and Haskell—the inspirations for CoffeeScript, as near as I can tell—are, as a recently-linked entry called Perl, programming languages that you have to constantly use to keep your programming skills.<p>For all its problems, as long as you can remember to use === and friends instead of ==, JavaScript's syntax is relatively obvious, if unweildly, to anyone who grew up in a C dominated world.<p>Fargo, the recently-linked Scheme in JavaScript, is something I an get behind personally, though sadly Clojure is becoming the default Lisp my mind thinks in.<p>We need to declare a moratorium on new syntax. With Lisp, C, Python, and a couple other languages (maybe), we have all the syntax we need. Novelty is not innovation. New is not better.<p>We live in a world where utility players, i.e. everyone in a startup, already have to think in terms of too many different languages.
评论 #2504216 未加载
评论 #2504211 未加载
评论 #2504316 未加载
MatthewPhillips大约 14 年前
I'm starting to really dig coffeescript. Using it in a new project and can see what people are raving about.<p>I wish there were better examples of creating cakefiles though. Little documentation on this. I think it assumes that everyone has a ruby background. I'd like a cakefile with a task to compile all of my .coffee files. Seems like that should be easy, but I don't see an example of how to do it.
评论 #2504487 未加载
Andrex大约 14 年前
Will any of the browser makers implement implicit text/coffeescript support? That'd be neat.
评论 #2503796 未加载
评论 #2505931 未加载
评论 #2504035 未加载