You signed in with another tab or window. Reload to refresh your session. You signed out in another tab or window. Reload to refresh your session. You switched accounts on another tab or window. Reload to refresh your session. Dismiss alert
CoffeeScript はプログラミング言語のひとつである。コードはJavaScript のコードに変換される。 Ruby や Python、Haskell [1] から影響を受けたシンタックスシュガーの導入により、JavaScript に比べ簡潔さと可読性を向上させたほか、配列内包 (Array comprehensions) やパターンマッチングといった機能を追加している。 CoffeeScript により、パフォーマンスを下げることなく、より短いコードでプログラムを記述することができる (JavaScript に比べ 1/3 程度の行数が削減できる)[2]。 2011年3月16日から一時、CoffeeScript は GitHub でもっともウォッチされているプロジェクトであった[3]。 この言語は Ruby コミュニティによく受け入れられており、(Ruby on Rails 開発
米IDG傘下のIT情報サイトInfoWorldは9月8日(米国時間)、優れたオープンソースを4カテゴリから選ぶオープンソース賞「Best of Open Source Software(Bossies)」受賞プロジェクトを発表した。NoSQL系、分散データ処理などのトレンドを反映した結果となっている。 Bossiesは、InfoWorldが「Test Center」として行っているテストとレビューに基づき、編集長とレビュー担当者が選択する年次アワード。2011年は「アプリケーション開発」および「アプリケーション」、「デスクトップとモバイル」、「データセンターとクラウド」という4つのカテゴリが用意され、計37のプロジェクトが選ばれた。 「アプリケーション開発」カテゴリでは、「Apache Hadoop」や「CakePHP」、「CoffeeScript」、「Hudson」、「Jenkins」、
Highlights in Rails 3.1: Streaming Reversible Migrations Assets Pipeline jQuery as the default JavaScript library These release notes cover only the major changes. To learn about various bug fixes and changes, please refer to the changelogs or check out the list of commits in the main Rails repository on GitHub. 1 Upgrading to Rails 3.1If you're upgrading an existing application, it's a great idea
最近、まわりでCoffeeScriptがすごいという声が。 CoffeeScriptって? Javascriptを洗練させてPythonやRubyライクな文法で書ける言語。 コンパイルするとクロスブラウザでJS Lintも通るJavascriptになるというもの。 某WebベースのTwitterクライアントも、JS部分はこれで書いてるとか。 CoffeeScript - sappari wiki https://sites.google.com/site/sappariwiki/coffeescript CoffeeScriptについては、日本語だと、ここがよくまとまってます。 さっそく、CoffeeScritptを入れて、Titaniumの最初のコード(プロジェクトを新規作成するとできるやつ)をCoffeeScriptで書きなおしました。 https://gist.github.com/
2010/12/19・20追記 node.js は発展途上にあるので、 「複数のバージョンの node.js を利用できる環境」を用意したほうがよいと思います。 Rails 3.1 で CoffeeScript がサポートされるという作者のコメントを見かけたので、CoffeeScript を試してみることにしました。github で急激に大きな注目を浴びており、JavaScript Good Parts の著者である Douglas Crockford がほめていて、Windows で動かせたという報告がされているので、今後の展開が楽しみです。スコープを隠匿するために多用される function ステートメントが右矢印記号 (->) に置き換わるだけでも抵抗感がすごく減るのに驚きです。 環境変数の PATH を修正する sudo を使わなくてすむようにインストール先を ~/local にし
CoffeeScriptについて ここんところしばらくCoffeeScriptとTitaniumの組み合わせで開発しているわけだけど、CoffeeScriptに関して言えば特に大きなハマりどころもなく快適に使えている。 強いて言えばこの間の@だけど、あれはどっちかというとJavaScriptのハマりどころだったわけで。 文法を覚えるコストがゼロとは言わないが、Rubyのバックグランドを持っていたせいかそんなに苦労はしなかった。 書き方を覚えてしまえばJavaScriptよりもさくさく書けて、かなり生産性に寄与してくれているのではないかと思う。 個人的には後置のifとforが特にお気に入り。 Titaniumとの組み合わせについて Titaniumとの組み合わせもまったく問題なし。 逆にCoffeeScriptなしでの開発が今となっては考えられないくらい。 Resources以下で以下のコー
Releases, Offers & More Be the first to hear about our newest content, best promotions and upcoming events. Plus get 25% off your next purchase. Newsletter Sign Up Download Accounts Your email address is your account identifier. You can create a password, or just download from the links sent via email. My Orders (Resend order emails) How We're Different Hands-on instructions Solutions to real-worl
JavaScriptへコンパイルして実行することを前提としたスクリプト言語「CoffeeScript」がちょっとした注目を集めています。CoffeeScript自体は2009年末に登場し、その1年後の2010年12月にバージョン1.0がリリースされていますが、注目を集めたのは、数日前(2011年4月13日)にRuby on Railsの生みの親であるDHHが、次期バージョンのRails3.1でjQueryやSCSSと合わせて、CoffeeScriptをデフォルトとして採用するとTwitter上で発言して議論が巻き起こったからです。 Yes, it's true, Rails 3.1 is going to ship with CoffeeScript and SCSS in the box for use with the new asset pipeline. It's bad ass.
ReadWriteWeb Hack 2011.1.7のエントリ Interview: Jeremy Ashkenas Talks About CoffeeScript coffeescriptクリエータJeremy Ashkenasへのインタビュー 以下斜め読んだ内容 Q:documentcloudでオープンソースプロジェクト走らせてるのに更にcoffeescript始めたわけ jsゴリゴリ書くwebアプリの開発やってるときにアイディアが膨らんでいった jsの冗長さからするっと解放してくれる言語、jsのgood partsを取りこぼさない言語 coffeescriptとunderscore.js。この2つは同じ問題への解決。アプローチが違うだけ coffeeプロジェクト=個人プロジェクト。docuentcloudで使うことを正当化できないから。 Q:Jeremyが興味持ってるliterat
CoffeeScript基礎文法最速マスター はじめまして。新人のtek_kocです。 今回は巷で話題のCoffeeScriptの文法をまとめてみました。 1年近く前に流行った基礎文法マスターシリーズにCoffeeScriptがなかったので、勉強も兼ねて同形式で書いてます 。 JavaScriptを使っている方はこれをざっくり眺めてCoffeeScriptへの移行を検討してくれればなと思います。 まだ網羅しきれていないですが、これを読めばCoffeeScriptに乗り換えることができるはずです。 間違いや、足りない箇所などがあれば、是非コメント等で指摘してください! バージョン 現時点で最新の1.0.1を対象にします。 0.概要 CoffeeScriptとはJavaSciprtにコンパイル可能な言語です。 RubyやPythonなどに近い記述が可能で、JavaScriptの開発をより効率的
リリース、障害情報などのサービスのお知らせ
最新の人気エントリーの配信
処理を実行中です
j次のブックマーク
k前のブックマーク
lあとで読む
eコメント一覧を開く
oページを開く