タグ

関連タグで絞り込む (1)

タグの絞り込みを解除

coffeescriptとbabelに関するnibushibuのブックマーク (5)

  • 橋本商会 » coffee-scriptからES6に移行する理由

    coffeeからES6(babel)に少しずつ書き換える の続き。 そもそも書き直す必要があるのか 正直シンタックスはcoffeeの方が好き。無駄にカッコつけなくていいし、インデントでpipeやpromiseをつないで書いていくのも見た目が良い。 coffeeは書きやすい。 まあすでに動いている物を書き直す必要は無いと思う。 移行するとしたら、ネガティブな動機が1つ、ポジティブな動機は2つある。 coffeeの開発の停滞 詳しくcoffeeの開発状況をウォッチしてないからよくわからないけど、詳しい人が「開発が停滞している」と言っているのでそうなんだと思う。 さよなら CoffeeScript – mizchi's blog coffeeはここ1年ぐらいバージョンが上がった時にdiffだけは見ているのだが、毎回git diffで差分を見て一瞬で理解できるぐらいの更新しかされてない。まあようす

  • Replace CoffeeScript with ES6

    I’ve been looking into ES6, the next version of JavaScript, and finally got a chance to use it on a project. In the brief amount of time I was able to use it I’ve found that it solves a lot of the problems that CoffeeScript is trying to solve without drastic syntax changes. Using ES6 Today We can start using ES6 today through the 6to5 project which transpiles our ES6 code into ES5. 6to5 supports a

    Replace CoffeeScript with ES6
  • Post by @ficc-workbook · 1 image

    FICCでいわゆるaltjsが採用される場合にはCoffeescriptがほとんどです。RailsやMiddlemanなどRubyベースの開発が多いというところが、大きな理由のひとつですが、ES6の仕様勧告も近づいてきているというところで、ここらでちょっと乗り換えを検討してもいい時期なのかなと思っています。 今回は実用化を視野に入れて、ES6の構文を利用することができる、Babel(旧6to5)を使いつつ、ES6ではClass構文やアロー関数、変数展開がサポートされるという話だったので、ごく単純なClassを定義した場合、Coffeescriptとどういった違いがあるのか少し試してみました。 # Coffeescript class Person constructor: (@name)-> hello: -> setTimeout => "Hello. My name is #{@nam

    Post by @ficc-workbook · 1 image
  • Moving to ES6 from CoffeeScript

    gistfile1.md Moving to ES6 from CoffeeScript I fell in love with CoffeeScript a couple of years ago. Javascript has always seemed something of an interesting curiosity to me and I was happy to see the meteoric rise of Node.js, but coming from a background of Python I really preferred a cleaner syntax. In any fast moving community it is inevitable that things will change, and so today we see a big

    Moving to ES6 from CoffeeScript
  • Don’t Replace CoffeeScript with ES6 Transpilers

    The recent surge in popularity of ES6 transpilers such as Babel (formerly called 6to5), combined with the fact that ES6 has adopted several of CoffeeScript’s improvements to JavaScript, has resulted in the meme that CoffeeScript is now obsolete and is due to be replaced. Does that really follow? Let’s step back a second. At a high level, Babel and CoffeeScript are two programming languages that co

    Don’t Replace CoffeeScript with ES6 Transpilers
    nibushibu
    nibushibu 2015/10/11
    あとで頑張って英語読む
  • 1