maxtaco / coffee-script

IcedCoffeeScript
http://maxtaco.github.com/coffee-script
MIT License
726 stars 58 forks source link

can't final js output be more readable--like this? #47

Open mikesmullin opened 11 years ago

mikesmullin commented 11 years ago

compare this coffeescript implementation of serial and parallel process flow:

http://bit.ly/QZeIWZ

compare iced coffeescript equivalent(winner):

http://bit.ly/YFtJiu

(actually its not TOTALLY equivalent because in the second example, the parallel tests do not begin to execute until after the serial has completed. not sure how to notate that yet without a lot of extra stuff. but close enough to illustrate the point)

my conclusions: