Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

This is cool but I think the project would benefit from a feature comparison to CoffeeScript, which is the first thing that comes to mind when seeing this.

CoffeeScript is very Ruby-like, but not quite...The big difference, among others, is significant whitespace.

One Ruby feature that I was expecting to be in this was Ruby Enumerable objects. CoffeeScript has nice iterators like this:

      ages = for child, age of yearsOld
            "#{child} is #{age}"
But not like Ruby:

      ages = yearsOld.map{|child, age| "#{child} is #{age}" }


ages = "#{child} is #{age}" for child, age of yearsOld




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: