From: Yasushi Shoji Date: 2000-02-19T01:19:05-05:00 Subject: [ruby-talk:01507] a few note on new FAQ Hi, I started to read the new FAQ. and I'd like to comment a bit. I'm reading PDF version and it seems great! good work guys! 1) '<<' in the sample code of 2.2 is changed to one char. 2) using "3.times" instead of "for i in 1..3" is more rubish, IMHO. 3) on 2.3, following code looks clearer than the other, IMHO --- 8< --- 8< --- cut --- 8< --- 8< --- def a print "Function 'a': called\n" 99 end begin print "a is ", a, "\n" a = 1 # over write print "a is ", a, "\n" end --- 8< --- 8< --- cut --- 8< --- 8< --- $ ruby local.rb Function a: called a is 99 a is 1 --- 8< --- 8< --- cut --- 8< --- 8< --- I'll read more tonight. regards, -- yashi