I was playing with CoffeeScript when I found myself writing the following lines and then looking at them in awe:
Ccna final exam - java, php, javascript, ios, cshap all in one. This is a collaboratively edited question and answer site for professional and enthusiast programmers. It's 100% free, no registration required.
Sunday, May 13, 2012
n-ary curry in CoffeeScript
Thursday, May 10, 2012
CoffeeScript-like language written in Python
Are there any languages targeting JavaScript (like CoffeeScript) and written in Python? I found Pyjamas , but it’s GWT of Python as I see. I want a language that doesn’t need heavy runtime library and is able to be compiled to JavaScript. I found Mascara also, and it very satisfies my requirements except it’s license. CoffeeScript is ideal for me except it’s written in CoffeeScript itself. I have to compile [CoffeeScript-like language] source codes into JavaScript statically in Python application.
Coffeescript/Javascript Mixins - Idiot Seeking Explanation
I preface this by saying my Javascript experience is very weak. Lots of jQuery, very little real comprehension. I have read numerous books on javascript and, while I am not a poor programmer, the prototypal nature of Javascript just does not click with my brain.
Wednesday, May 2, 2012
What does "Splats” mean in the CoffeeScript tutorial?
Looking at this CoffeeScript tutorial : http://jashkenas.github.com/coffee-script/
I don't quite see what the Splats is for. What is this construction? Where does it come from (historically)
Integrating CoffeeScript with Eclipse?
Is there a way to integrate CoffeeScript and Eclipse, so that when I write CoffeeScript in one window the other will show the compiled code as Javascript?
Sunday, April 8, 2012
require()"ing a CoffeeScript file from a JavaScript file or REPL
I'm using Node.js and wanting to incorporate CoffeeScript into my workflow. I have two use-cases:
- I want to be able to write JavaScript files which require() CoffeeScript modules
- I want to be able to load CoffeeScript modules from within the node REPL
For case #1 I can just compile from .coffee to .js and require() the .js module, as a workaround. For case #2 right now I'm eval()'ing the output of coffee-script.compile().
Is there a better, more unified way to do this?
Source: Tips4all
Friday, February 17, 2012
Wednesday, January 11, 2012
Using bootstrap-modal as Backbone.js view
I am attempting to create a Backbone.js view based on a Twitter bootstrap-modal, which makes use of Backbone's automatic event delegation via the events attribute of the view.
Using bootstrap-modal as Backbone.js view
I am attempting to create a Backbone.js view based on a Twitter bootstrap-modal, which makes use of Backbone's automatic event delegation via the events attribute of the view.