Roll your own JavaScript lambda syntax
1–5 of 5 posts
Re: Roll your own JavaScript lambda syntax
#2Re: Roll your own JavaScript lambda syntax
#3Re: Roll your own JavaScript lambda syntax
#4Coffeescript has a much better syntax. Actually it has two much better syntaxes, one with a common semantics: a closure that captures the value of self (which is the default one in ruby/smalltak/python/scala, etc).
I can still see myself using a preprocessor when dealing with small-to-moderate chunks of JavaScript, since it's so easy to drop into an existing framework, but I'll definitely be checking out Coffeescript for any larger JS applications.
Re: Roll your own JavaScript lambda syntax
#5Coffeescript has a much better syntax. Actually it has two much better syntaxes, one with a common semantics: a closure that captures the value of self (which is the default one in ruby/smalltak/python/scala, etc).
Wow, that looks great. Totally missed it when searching for precedents. I can still see myself using a preprocessor when dealing with small-to-moderate chunks of JavaScript, since it's so easy to drop into an existing framework, but I'll definitely be checking out Coffeescript for any larger JS applications.