Re:Using “and” and “or” in Ruby
by jseifer on Monday August 02, 2010 @03:29PM
(#1568736)
Exactly, it's a language feature. That would be similar to calling the conditional assignment (||=) operator obscure.
[ Parent
| on HN ]
Re:Using “and” and “or” in Ruby
by telemachos on Monday August 02, 2010 @09:48PM
(#1569804)
I agree with your larger point, but you may not have the best example. ||= is notoriously obscure in Ruby - in details at least.
The issue is that ||= doesn't have a spelled out synonym like && has 'and'.