In Rubyists Already Use Monadic Patterns, Dave Fayram made a passing reference to using ||= to set a variable's value if its value were 'Nothing' (false or nil in Ruby).
left hand sideWhat Ruby’s ||= (Double Pipe / Or Equals) Really DoesRuby Inside Mon, 10/17/2011 - 19:37
LinkedIn Is Getting a Redesign [Pics]Mashable! Fri, 11/06/2009 - 09:21
Need a Google Voice Invite? Ask a Friend for OneMashable! Tue, 10/13/2009 - 13:38
Scribd Goes Social, Adds News Feeds and FollowersMashable! Sun, 08/09/2009 - 15:43
Tweetboard: Add a Twitter-Powered Forum to Your WebsiteMashable! Fri, 06/26/2009 - 17:59
Collecta: True Real-Time Social SearchMashable! Thu, 06/18/2009 - 10:02
|