|
|
|
|
|
by addisonj
4153 days ago
|
|
I give credit to CoffeeScript with really helping to push the ES specs forward and think it helped introduce more people to JS and grow the ecosystem. Heck, I used it for a year, liked it, and had it change some of my approaches to writing JS. That said, I hope it slowly fades into the background as more people go back to vanilla ES6 or go with something more powerful such as TypeScript (or Flux). With the progress around es6 and es7, gradual typing, macros, and other tooling around the language, I think CoffeeScript risks becoming a drag on getting people to learn modern JS and instead sticking with a language that has a lot of ambiguous constructions and fewer and fewer advantages over JS. |
|
.my-div %h1 Some Text - some_ruby_code
vs the ERB of
<div class="my-div> <%h1> Some Text </h1> <% some_ruby_code %> </div>