From: Mat Schaffer Date: 2006-07-11T06:14:15+09:00 Subject: Re: [HAIKU] Re: Why Ruby over Python? On Jul 10, 2006, at 4:25 PM, ara.t.howard@noaa.gov wrote: > On Tue, 11 Jul 2006, Mat Schaffer wrote: >> On Jul 10, 2006, at 3:45 PM, Tim Pease wrote: >>> PS We should have an official "Thank Matz" day. Send him money, or >>> an Apple iCard, or write a Ruby program that is a haiku and actually >>> parses and runs -- hmmm ... Ruby Haiku day for Matz >> >> You really caught me with that Ruby Haiku concept. I started >> working on it, >> but the last line is really tricky to get up to five syllables and >> still be >> meaningful. It's an odd downside to ruby's terse syntax. >> >> Maybe I'll put a page for ruby Haiku on http:// >> wiki.rubygarden.org/ Ruby/page/show/RubyFun once I come up with >> something :) > > harp:~ > cat a.rb > > raise :the, :red_flag unless :weak > > throw :fear while :people and not :truth > > :dove and :hawk while :death > > harp:~ > ruby a.rb > (infinite loop on last line) That 'while' was the inspiration I needed. I was also trying to play on the "Thank Matz day" idea and do something a little useful. for i in "Matz" do print "Thank you #{i}, ruby rocks." end while :happiness -Mat