Earlier quoted context omitted.
A doom dependent on full adoption of ES6 could easily be a decade out, to be fair. There aren't, as far as I know, any browsers that expose ES6 without non-standard compile/runtime flags, and we have to wait until there's enough adoption that the % of people using pre-ES6 browsers is negligible. Hell, I'm still waiting for Array::map to be dependable.
Hell, I'm still waiting for [1, 2, 3].indexOf(2) to be dependable ;)
CoffeeScript 1.7.0
41–50 of 91 posts
Re: CoffeeScript 1.7.0
#42Earlier quoted context omitted.
Considering companies like Dropbox and GitHub use it (even outright recommend it), I'd say it's pretty mainstream.
As well as Palantir.
Re: CoffeeScript 1.7.0
#43Is coffeescript still hip? I used to read a lot about it on here, maybe a year or two. Where is it at? Mainstream?
Re: CoffeeScript 1.7.0
#44Re: CoffeeScript 1.7.0
#45Re: CoffeeScript 1.7.0
#46Is coffeescript still hip? I used to read a lot about it on here, maybe a year or two. Where is it at? Mainstream?
There has been a development of hate towards CoffeeScript in most JavaScript communities. CoffeeScript seems to be very popular in the non-JS communities that need to write JavaScript, like in the Ruby and Python web development communities. CoffeeScript was designed for non-JS coders to feel a lot more comfortable writing JS.
This is FUD. CoffeeScript is JavaScript, and if you come into CoffeeScript thinking it works like ruby just because it looks like ruby then you're in for a rude awakening.
Personally, I'm a fan of CoffeeScript's streamlined syntax compared to JavaScript.
For example:
describe 'when the universe exists', ->
it 'should be active', ->
expect(universe.active).toBe true
vs describe('when the universe exists', function(){
it('should be active', function(){
expect(universe.active).toBe(true);
});
});
It's no surprise that newcomers are sometimes inclined towards CoffeeScript since one the biggest obstacles for a budding javascript programmer is the seemingly incomprehensible labyrinth of brackets, parenthesis and semicolons (not to mention the confusion that ASI adds to the picture) that one must endure to grok the language. Of course, it's not really that hard to understand, but CoffeeScript filters out a lot of "syntax" making it easier for a newcomer to tackle the meat of the application. Less is more.Re: CoffeeScript 1.7.0
#47Is coffeescript still hip? I used to read a lot about it on here, maybe a year or two. Where is it at? Mainstream?
There has been a development of hate towards CoffeeScript in most JavaScript communities. CoffeeScript seems to be very popular in the non-JS communities that need to write JavaScript, like in the Ruby and Python web development communities. CoffeeScript was designed for non-JS coders to feel a lot more comfortable writing JS.
Re: CoffeeScript 1.7.0
#48There's also a nice writeup of some of the more user-visible changes available here: https://gist.github.com/aseemk/8637896
Re: CoffeeScript 1.7.0
#49Re: CoffeeScript 1.7.0
#50>When requiring CoffeeScript files in Node you must now explicitly register the compiler. This can be done with require 'coffee-script/register' or CoffeeScript.register(). Also for configuration such as Mocha's, use coffee-script/register.
Since I have not been specifying my CoffeeScript version, I have a feeling this update is going to break a lot of my Node.js code. Am I right?