From: Steve Martin Date: 2006-07-12T18:23:55+09:00 Subject: Re: Why Ruby over Python? Mat Schaffer wrote: > On Jul 10, 2006, at 4:25 PM, ara.t.howard@noaa.gov wrote: >>> meaningful. It's an odd downside to ruby's terse syntax. >> >> :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 I had to add my own, > cat haiku.rb: since = "Ruby is king" puts "Perl and Python way down" raise "Matz up" if 'agreed' Yea, it throws a runtime error, but I liked the poetry. -- Posted via http://www.ruby-forum.com/.