Skip to content

Instantly share code, notes, and snippets.

@evie404
Created June 17, 2013 20:36
Show Gist options
  • Save evie404/5800135 to your computer and use it in GitHub Desktop.
Save evie404/5800135 to your computer and use it in GitHub Desktop.
Hi all,
I recently attended a local tech meetup where they talked about the deficiencies of javascript and the prominence of this new coffeescript language and how it improves developer productivity. For example, instead of stitching strings together in an old and ugly way:
str = "<a href=\""+url+"\">"+text+"</a>"
you can write in a rubyique way:
str = "<a href=\"#{url}\">#{text}</a>"
which is a lot simpler.
I've talked with a few others on the team and came up with a preliminary plan to change the peacock into using coffeescript. There is a pending review to add the coffeescript-rails gem into the Gemfile, and go/peacoffee for the details plans.
Meanwhile, please goto coffeescript.org and learn about this awesome language!
Thanks a lot.
Love,
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment