From: gabriele renzi Date: 2005-02-15T10:29:53+09:00 Subject: Re: Printing why's (poignant) guide to ruby Navindra Umanee ha scritto: > I honestly think things like blocks are not a trivial matter. > > Why: > > 5.times { print "hello " } > > instead of: > > 5 times print hello just my two cents: maybe the point is starting withouth using blocks. I found them hard too, when I initially started learning ruby , but I could write cute programs (the usual web scraping, irc bots and such) without using them. As of current ruby you can write net applications, XMLRPC clients, access SOAP funny things withouth ever seing a block. Then, you have an "ah-ha!" moment and you become happyer :) Is not like explaining why in python: fun=lambda a: print(a) does not work, or what foo.bar=fun.__get__(foo) is supposed to do is /that/ obvious :) there is always a learning curve, sadly.