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

科技回声

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

GitHubTwitter

首页

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

资源链接

HackerNews API原版 HackerNewsNext.js

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

Rails 3.1 Adopts CoffeeScript, jQuery, Sass and.. Controversy

25 点作者 vamsee大约 14 年前

6 条评论

jarin大约 14 年前
Well, bad news guys:<p><a href="http://doihavetousecoffeescriptinrails.com/" rel="nofollow">http://doihavetousecoffeescriptinrails.com/</a>
dzine大约 14 年前
I don't see why this should be controversial, it's so easy to switch to Haml, Sass or jQuery when you need/want to. The defaults are there to get the uninitiated off the ground as quickly as possible, and is in keeping with the 'rails way'.<p>I, on the other hand, have my 'own way', and rails doesn't in any way prevent me from implementing that when I start a new rails project.
bradgessler大约 14 年前
How will this be integrated? Does this just mean when I generate a rails project, I'll see:<p><pre><code> gem 'haml' gem 'coffee' </code></pre> in my Gemfile? That's cool, I just hope this stuff isn't vendored.
评论 #2446267 未加载
评论 #2446708 未加载
bad_user大约 14 年前
While I don't agree with this change, I have to hand it to DHH -- he brings "opinionated" to breathtaking heights :)<p>And he's right -- these kind of changes may be controversial, but Rails was never about being mainstream / safe / conservative. Rails was always about being productive, and in that context taking risks is good -- which is the reason for the dozens of Rails-clones written in dozens of languages.
评论 #2446033 未加载
akkartik大约 14 年前
Why not haml? Was there a discussion about this?
评论 #2445388 未加载
评论 #2445908 未加载
drivebyacct2大约 14 年前
Who cares? How much longer is this going to drag on? It doesn't force you to use CoffeeScript, you can easily continue to write JavaScript or Sass with no detrimental effects. If I understand correctly, it only changes the templates created.
评论 #2445923 未加载