Hacker News new | ask | show | jobs
by petercooper 5175 days ago
CoffeeScript is far more like Python than Ruby. The irony..!
1 comments

I can see how it would give that impression due to taking a high-visibility feature in significant whitespace from Python, but other than list comprehensions, much of the rest is taken from Ruby:

Implicit returns, new conditional keywords (which don't use a Python-style : to signal the end of the conditions) and postfix conditionals, the @ operator, the ? suffix analogous to nil?, #{} for string interpolation, Ruby-style switch and (sometimes) optional parentheses can all result in very Ruby-like code, with the introduction of so many inconsistent ways to express the same statements.