4 ms·
My single favorite thing about CoffeeScript seems tiny, but makes a huge difference: the chainable existential operator. It's gotten to the point where I keep
by ef4 14y ago
My single favorite thing about CoffeeScript seems tiny, but makes a huge difference: the chainable existential operator.
It's gotten to the point where I keep trying to use it in Ruby and getting annoyed that it's not there. Rails at least adds Object#try, but it's not nearly as nice.
- gmac 14y agoThere's also the andand gem, but again it's a lot less clean and expressive than a simple ?.