From: "Aleksi Niemelä" Date: 2000-07-05T12:33:04+02:00 Subject: [ruby-talk:03823] Re: Array.pick > > Just a general comment--a brief statement of purpose and using > > conventional indentation would be helpful. Apart from what should be Agreed! I'm sorry I missed that this time. Hopefully I'm better person next time :). Myabe I thought the code example will do the job, but I agree, it's not enough. (While matz could have different opinion :], and I could argue that all that was presented was 'a brief statement' or two :). Well, I actually I've already generated Array#pick -family, so I'll be posting it within few weeks. > This is the only one remaining advantage of Python over Ruby, IMHO! > Use indentation for grouping ... :-) Well, it's not the only (while I'm not a Python programmer). For example, Ruby *removes* the burden to remember to write ';' in the end of each statement, but it *requires* to write 'end' in the end of most language constructs. Python is better here, while the solution, using (thus forcing) indenting, might not be good in general (I think it's quite harmless most of the time :). Maybe we enter to the era where you can drop 'end's away, provided you honor good indenting practises. Another point where Python might be better, is the established notion for these 'brief statements of purpose', which are implemented as docstrings (if I've understood correctly). Maybe rd will be the way, maybe something else. I don't know, I'm just a beginner. Anyway, I think (hope) my original mail was indented properly. Uh, I see. You're referring to usage of tabs instead of two spaces. Well, that's true, a blunder. So there's no recommendation to treat '\t' as ' '? - Aleksi