CoffeeScript 辞めました はじめに こんにちは、CrowdWorks のジャンヌチームのエンジニア bugfire です。 CrowdWorks は歴史のあるサービスで CoffeeScript が利用されている箇所が大量にあります。 具体的には411ファイルありました。1 いまとなっては CoffeeScript を利用したコードを新たに書くことも少なくなり、改善するときにTypeScript で書き直されることも多くなってきました。しかし、個別に変換すると時間が掛かってしまうため、まとめて機械的に変換することにしました! 3行まとめ CoffeeScript よりTypeScript の方に記述を移していきたい。 利用している Sprockets の CoffeeScript 変換コードを借用して全ファイルを変換しました。 確認は変換前後の出力JavaScript コ
こんにちは、クレイの阪本です。 もともと外部委託パートナーとしてクレイ案件のお手伝いをしていましたが、気づけば中の人となっていました。 よろしくお願いいたします。 先日、DocBaseはフロン...
@jashkenas was kind enough to let mejoin him for his JSConf.ussession. Here is the slideshare link. I’ll comment on the individual slides below. Jeremy’s talk was entitled “CoffeeScript as a JS/next”, and I was interested in giving an update on Ecma TC39 Harmony progress, so when Jeremy and I met and caught up during the first day of JSConf, we quickly agreed on ajointsession with about 15 min
こんにちは!dely でフロントエンドエンジニアをしている @all__user です。 この記事は dely Advent Calendar 2018 の8日目の記事です。 Qiita: https://qiita.com/advent-calendar/2018/dely Adventar: https://adventar.org/calendars/3535 昨日は、iOSエンジニアのほりぐち( @takaoh717 )が「iOS版クラシルの開発からリリースまでの流れ」というタイトルで投稿しました。tech.dely.jp iOS 版 kurashiru の開発体制の遍歴がよく分かるような内容となっていますので、ぜひチェックしてみてください! はじめに ここ一年間で Web 版 kurashiru のフロントエンドはRails からVue の SPA へと少しづつ置き換えられ
We are pleased to announce CoffeeScript 2! This new release of the CoffeeScript language and compileraims to bring CoffeeScript into the modernJavaScript era, closing gaps in compatibility withJavaScript while preserving the clean syntax that is CoffeeScript’s hallmark. In a nutshell: The CoffeeScript 2 compiler now translates CoffeeScript code into modernJavaScript syntax. So a CoffeeScript =
So here's a fully functional implementation of what I call CSX - the JSX equivalent for CoffeeScript. I tried to adhere as much as possible to the syntactical rules of JSX (as opposed to doing possible fancy stuff). First, let me address why I thinkit theoretically makes sense to include this in CoffeeScript: To implement CSX properly, you need a fully functioning CoffeeScript parser. This is so
One of the ongoing initiatives for the Bugsnag Frontend Team has been a migration of our codebase away from coffeescript.It hasn’t been an easy journey, andit isn’t yet complete, but we thought we’d share what we have learned from this process and how we have managed to speed our conversion without overly sacrificing productivity or stability. Why move away from coffeescriptJavascript has becom
Hey everyone, CoffeeScript 2.0.0-alpha1 is released! Installit via: npm install coffeescript@next You may notice thatit’s not at coffee-script. The powers that be at NPM were kind enough to release the coffeescript package name to us. Since no one really spells CoffeeScript with a hyphen anymore,it seemed a better choice.It has both the old versions and 2.0.0-alpha1, and will be the home for f
ネットショップ運営サービス カラーミーショップで「新カゴプロジェクト」と呼んでいる最高のショッピングカートの開発をしている@tsuchikazuです。 2014年に開発を開始した新カゴプロジェクトではフロントエンドをCoffeeScript +Angularで開発してきました。ES5までの時代にAltJS文化を作り、Class構文やArrow Functionを先取りしていたCoffeeScript。それらはES2015(ES6)の仕様に採用され、一方でCoffeeScript自体の開発は止まり、CoffeeScriptは役割を終えたのではないでしょうか。先月、今後も変化し続けるフロントエンドに追従するためにも、新カゴプロジェクトで200ファイル以上のCoffeeScriptをES2015へ移行しましたので、今回その方法を紹介します。トランスパイラ 移行方法としてCoffeeScrip
I'm doing research prior to adopting Coffeescript for a young startup's codebase. After intensivegoogling, I found no clear answers but many people asking themselves the same questions, soit may be agood idea to amend the FAQ with answers to these: What is the roadmap for ES6 support? When will features be supported? (When ES6 is standard? Whenit is supported? Never? Per-feature? How isit dec
High-fidelity interactive design, minus the code.So how doesit work? Import from any of your favoriteUI design tools or start fromscratch in Framer.Simply right-click to swap out static elements and replace them with interactive components. Tryit out now Motion that works like magic.Ready to design your firstanimation? Drag and drop with Magic Motion tocreate an immersive prototype.Just us
prototype.js が jQuery に置き換えられた時、開発者が気づいたのは、自分に本当に必要だったのはprototypeのメソッド拡張などではなく、クエリエンジンだったということ。 coffeescriptが当初、熱狂的に支持された背景はなんだっただろう。今思えば、それはアロー記法とクラス構文だったと思う。javascriptの関数型への憧れ、prototypeベースの限界javascript は断じて関数型言語ではないが、他の言語と同じぐらい関数型言語に憧れていたのも、また事実だろう。しかしビルトイン関数が高階関数を要求するデザインにしては function というキーワードはながすぎたし、その function が暗黙に作り出す this スコープの複雑な振る舞いも開発者の悩みの種だった。「あらゆる関数スコープで状態を持つことが"できすぎる"」という割れ窓だった。 ES5
リリース、障害情報などのサービスのお知らせ
最新の人気エントリーの配信
処理を実行中です
j次のブックマーク
k前のブックマーク
lあとで読む
eコメント一覧を開く
oページを開く