simple shorter function syntax
Irakli Gozalishvili
rfobic at gmail.com
Wed Jul 28 02:31:31 PDT 2010
On Mon, Jul 26, 2010 at 10:15, Dmitry A. Soshnikov <
dmitry.soshnikov at gmail.com> wrote:
> That's look interesting, yeah, I (personally) like it. Also beside => can
> be used "traditional" function definition sign of some functional (and not
> only functional) languages: ->
>
> Coffee (while using -> for functions) uses => sugar for binding the `this`
> value with defining a function at the same time:
> http://jashkenas.github.com/coffee-script/#fat_arrow which I think also a
> good sugar for `.bind` method.
>
+ 1 (my two cents here)
Another I thing good point here is that CoffeeScript is a working &
successful proof of concept and many webdevs are already familiar with it.
Acquiring even more of it's syntax may be a good ide!!
Regards
--
Irakli Gozalishvili
Web: http://www.jeditoolkit.com/
Phone: +31 614 205275
Address: 29 Rue Saint-Georges, 75009 Paris, France <http://goo.gl/maps/3CHu>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.mozilla.org/pipermail/es-discuss/attachments/20100728/b12dc309/attachment.html>
More information about the es-discuss
mailing list