----- Original Message ----- From: "Tim Hammerquist" <tim / vegeta.ath.cx> Newsgroups: comp.lang.ruby To: "ruby-talk ML" <ruby-talk / ruby-lang.org> Sent: Wednesday, July 09, 2003 7:57 PM Subject: Re: Ruby T-Shirt Idea > Daniel Carrera graced us by uttering: > > I like the idea of Ruby t-shirts, but your code snipet is > > rather long for a t-shirt. It has to be quick and catchy. How > > about this: > > > > a, b = b, a > > Who needs temp variables? > > http://www.ruby-lang.org > > Perl and Python both do this. Python even uses the same syntax. > > What can we use that demonstrates something that Ruby's uniquely > useful for in 4 lines or less? Hmm, there's the classic "grep in four lines." Can't recall exactly how it looks -- I think it used a perlism that I'm not used to. > Tim Hammerquist > -- > This text is protected by Double-ROT13 encryption. > Any attempt to decode this text is a violation of the DMCA/WIPO acts. lol... guess we're all in violation, eh? Hmm, wouldn't Double-rot13 be rot26? Or rot0? Hal -- Hal Fulton hal9000 / hypermetrics.com