Skip to main content
added 41 characters in body
Source Link
keppla
  • 5.2k
  • 26
  • 32

In the category 'other tools', i use CoffeeScript (a language that compiles to JavaScript), because it takes away the pains Javascript's syntax imposes on me.

list.sort (a, b) -> a.isSmaller(b) 

versus

list.sort(function(a, b) { return a.isSmaller(b) }); 

One could argue, technically that is not javascript anymore, but the "feeling" of coffescript is, that it is just a thin layer.

In the category 'other tools', i use CoffeeScript, because it takes away the pains Javascript's syntax imposes on me.

list.sort (a, b) -> a.isSmaller(b) 

versus

list.sort(function(a, b) { return a.isSmaller(b) }); 

One could argue, technically that is not javascript anymore, but the "feeling" of coffescript is, that it is just a thin layer.

In the category 'other tools', i use CoffeeScript (a language that compiles to JavaScript), because it takes away the pains Javascript's syntax imposes on me.

list.sort (a, b) -> a.isSmaller(b) 

versus

list.sort(function(a, b) { return a.isSmaller(b) }); 

One could argue, technically that is not javascript anymore, but the "feeling" of coffescript is, that it is just a thin layer.

added 30 characters in body
Source Link
keppla
  • 5.2k
  • 26
  • 32

In the category 'other tools', i use http://jashkenas.github.com/coffee-script/CoffeeScript, because it takes away the pains Javascript's syntax imposes on me.

list.sort (a, b) -> a.isSmaller(b) 

versus

list.sort(function(a, b) { return a.isSmaller(b) }); 

One could argue, technically that is not javascript anymore, but the "feeling" of coffescript is, that it is just a thin layer.

In the category 'other tools', i use http://jashkenas.github.com/coffee-script/, because it takes away the pains Javascript's syntax imposes on me.

list.sort (a, b) -> a.isSmaller(b) 

versus

list.sort(function(a, b) { return a.isSmaller(b) }); 

One could argue, technically that is not javascript anymore, but the "feeling" of coffescript is, that it is just a thin layer.

In the category 'other tools', i use CoffeeScript, because it takes away the pains Javascript's syntax imposes on me.

list.sort (a, b) -> a.isSmaller(b) 

versus

list.sort(function(a, b) { return a.isSmaller(b) }); 

One could argue, technically that is not javascript anymore, but the "feeling" of coffescript is, that it is just a thin layer.

Source Link
keppla
  • 5.2k
  • 26
  • 32

In the category 'other tools', i use http://jashkenas.github.com/coffee-script/, because it takes away the pains Javascript's syntax imposes on me.

list.sort (a, b) -> a.isSmaller(b) 

versus

list.sort(function(a, b) { return a.isSmaller(b) }); 

One could argue, technically that is not javascript anymore, but the "feeling" of coffescript is, that it is just a thin layer.