4 ms·
Exactly, it's a language feature. That would be similar to calling the conditional assignment (||=) operator obscure.
by jseifer 16y ago
Exactly, it's a language feature. That would be similar to calling the conditional assignment (||=) operator obscure.
- acgourley 16y agoThe issue is that ||= doesn't have a spelled out synonym like && has 'and'.
- telemachos 16y agoI agree with your larger point, but you may not have the best example. ||= is notoriously obscure in Ruby - in details at least. http://www.ruby-forum.com/topic/151660/ http://www.ruby-forum.com/topic/151660/
- KirinDave 16y agoThat said... &&= might be deemed obscure. Even experienced rubyists seem confused when I use it.