From: Daniel Carrera Date: 2003-01-16T08:48:30+09:00 Subject: Re: Ruby advocacy in sigs On Thu, 16 Jan 2003, Gennady wrote: > You can't figure it out, yes, but you feel there's something in it > (beer? ;-) ), you copy-and-paste the code into the ruby (installing one > possibly) and, here we go, you become a Rubyist ;-). Dull print-outs > will not attract anybody, however I like the subject. Hhmmm... I might agree with you if we were trying to advocate Perl. But one of the selling points of Ruby is its clarity. I'd rather show how you can perform tasks with more clarity and ease than in other languages. I particularly liked: a, b = b, a # Who needs tmp variables? def twice; yield; yield; end twice {print "Hello World"} A sig can be something like: a, b = b, a # Who needs tmp variables? See www.ruby-lang.org for more info. Daniel Carrera Graduate Teaching Assistant. Math Dept. University of Maryland. (301) 405-5137