[lnkForumImage]
TotalShareware - Download Free Software

Confronta i prezzi di migliaia di prodotti.
Asp Forum
 Home | Login | Register | Search 


 

Forums >

comp.lang.ruby

Re: FizzBuzz (#126

seebs

6/1/2007 2:19:00 PM

In message <1180706912.600304.207370@h2g2000hsg.googlegroups.com>, Paul Novak writes:
>I do not think there is a lot of room for cleverness in the FizzBuzz
>problem. (Actually, I hope I am wrong and we see lots more
>suggestions for Extra Fun like Peter's.) My understanding is that
>FizzBuzz was intended to screen out candidates that could *not* come
>up with working code in a few minutes.

It took me a good twenty minutes, but then, I'm a total newbie at Ruby,
and I made about 5 different mistakes. I mean, it took me a while to
even figure out ... Oh. You know, I'm gonna have a hard time saying what
was hard about it for me without spoilers, huh.

I do have it working, though. The idea was obvious, the implementation
slightly less so, and I'm Probably Doing It Wrong.

-s