Skip to primary content

Software Ramblings

Productivity, Life Hacks and Software

Software Ramblings

Main menu

  • Home
  • About Stephen Doyle
  • Multicore Development Resources
  • My .irbrc file
  • Python Snippets
  • Ruby Snippets
  • Search Results

Post navigation

← Previous Next →

Why I like Ruby …

Posted on August 19, 2009 by Stephen Doyle
2.times { deck.shuffle }

is much more expressive than

for(i=0; i<2; ++i) deck.shuffle [/sourcecode]

Post to Twitter Tweet This Post Post to Digg Digg This Post Post to Reddit Reddit Post to StumbleUpon Stumble This Post

This entry was posted in Ruby by Stephen Doyle. Bookmark the permalink.
Proudly powered by WordPress