CoffeeScript hits 1.0 -- Happy Holidays, HN
41–50 of 55 posts
Re: CoffeeScript hits 1.0 -- Happy Holidays, HN
#42Has anyone written a reverse CoffeeScript compiler that compiles legacy js into cs? Seems like it would be a great tool for starting off refactoring of big js files, or if you simply wanted to adopt cs as your standard.
Re: CoffeeScript hits 1.0 -- Happy Holidays, HN
#43Thanks for this Jeremy and everyone who contributed. I've held off really coming to grips with javascript because I found it ugly and full of too many gotchas. But Coffeescript has got rid of all those excuses!
Satoshi Murakami deserves a large portion of the credit for the changes leading up to 1.0 -- his Coco dialect of CoffeeScript has been a strong influence on the features and optimizations that happened this fall. https://github.com/satyr/coco#readme
Re: CoffeeScript hits 1.0 -- Happy Holidays, HN
#44Re: CoffeeScript hits 1.0 -- Happy Holidays, HN
#45Earlier quoted context omitted.
Satoshi Murakami deserves a large portion of the credit for the changes leading up to 1.0 -- his Coco dialect of CoffeeScript has been a strong influence on the features and optimizations that happened this fall. https://github.com/satyr/coco#readme
I thought I have a pretty good handle on CoffeeScript, but Coco's README confused me. Can someone explain the reasoning behind Coco's features? Can't seem to discern their purpose.
# Fix things CS goofs.
# Add things CS lacks.Re: CoffeeScript hits 1.0 -- Happy Holidays, HN
#46Has anyone written a reverse CoffeeScript compiler that compiles legacy js into cs? Seems like it would be a great tool for starting off refactoring of big js files, or if you simply wanted to adopt cs as your standard.
It is not without its cavets, though, with a little work it could be brilliant.
Alot of things that are in CoffeeScript simply are not possible in JavaScript; given there is no 1-1 relationship between CoffeeScript and JavaScript constructs.
Re: CoffeeScript hits 1.0 -- Happy Holidays, HN
#47Newbie question: How is CoffeeScript typically used? On a web server running node.js? In the browser after including CoffeeScript the way you might include jQuery? Either? Some other way?
Since CoffeeScript itself is written in CoffeeScript it was quite easy for the team to create a distribution of the compiler that runs in the browser.
You can find it in the extras folder of the source code repository.
Usually though, people opt to pre-compile their CoffeeScript on the server, pack, optimise and minify it before serving it to clients.
At Feisty, we write CoffeeScript that is intended to be executed on both the server and client.
To achieve this, we wrote "requisition" - https://github.com/feisty/requisition - a server-side packager and client-side loader - via require() - for CommonJS Modules written in CoffeeScript.
For a simpler, ad-hoc solution check out my tutorial project "Walk the Line" - http://github.com/pyrotechnick/walk_the_line
Re: CoffeeScript hits 1.0 -- Happy Holidays, HN
#48Earlier quoted context omitted.
We are developing an open-source MMO on node.js and WebGL - http://github.com/feisty
Is there something I can do to get involved with this project?
I am "pyrotechnick" on Skype/Twitter/Facebook/Google Talk
We would love to hear from anyone who can contribute anything to the projects. Or who is interested in an alpha/beta
Re: CoffeeScript hits 1.0 -- Happy Holidays, HN
#49Earlier quoted context omitted.
We are developing an open-source MMO on node.js and WebGL - http://github.com/feisty
I want to build one too. Any chance the repo's receive meaningful README's ?
Please direct any questions/feedback/correspondance to "pyrotechnick" on the social network of your choice.
Re: CoffeeScript hits 1.0 -- Happy Holidays, HN
#50Things have come a long way in the past year, since this conversation: http://news.ycombinator.com/item?id=1014080 Some of the interesting recent features include executable class bodies, extended regular expressions, functions with default arguments, and YAML-style object literals. Thanks for all the great suggestions and patches (almost a thousand Github issues, with many thousands of comments). The language has be…