satyr / coco

Unfancy CoffeeScript

Home Page:http://satyr.github.com/coco/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

soaked destructuring

aeosynth opened this issue · comments

sugar for a = b?a or c, {a or c} = b or {}

  • The latter way is already DRY and seems to suffice.
  • Soaks don't support default values anyway; we don't have sugar for if b? then b.a else c either.