This should look familiar...
... and this shouldn't look too different
Borrows from Ruby (e.g., string interpolation) and Python (e.g., whitespace, comprehensions).
Useful enhancements include
defaults (bar = "hi"
) and
splats (...args
).
Follows the "classical inheritance" pattern with helpers:
shortcuts (@
),
fat arrows (=>
), and
superclass (super
).
An elegant way to avoid TypeError
's and replace:
... with:
Works for arrays and objects.
/
#