From: Robert Dober Date: 2007-03-03T09:40:18+09:00 Subject: Re: Smallest FizzBuzz program On 3/3/07, Rick DeNatale wrote: > On 3/2/07, Robert Dober wrote: > > On 3/3/07, Rick DeNatale wrote: > > > > 1.upto(?d){|i|p ["%sBuzz"%x=[:Fizz][i%3]][i%5]||x||i} > > > > > > Code golfing is against my religious beliefs however. > > good decision ;) 'cause you are cheating, the output format of p is > > not what is required :( > > Robert > > And here I could have sworn that I'd actually tried that very code in irb. > > That's why I'm against code golfing, rots the brain! ;-) That's why I love it, nothing to lose ;) But this one got on my nervers now, good night everyone! > > -- > Rick DeNatale > > My blog on Ruby > http://talklikeaduck.denhaven2.com/ > > -- We have not succeeded in answering all of our questions. In fact, in some ways, we are more confused than ever. But we feel we are confused on a higher level and about more important things. -Anonymous