From: "Brian Schröder" Date: 2005-05-12T22:22:04+09:00 Subject: Re: {} vs begin/end [was Re: object loops and what they return] On 12/05/05, Gavin Kistner wrote: > On May 12, 2005, at 1:48 AM, Brian Schr�der wrote: > > On 12/05/05, Phrogz wrote: > >> I tend to use { > >> and } for blocks instead of begin/end in my own code because IMHO it > >> visually groups it better, but I used begin/end here since that seems > >> to be the emerging multi-line choice of the community.) > > > > I just wanted to throw in that I'm in the camp of people who use begin > > end when the side effect is important and braces when the return value > > is important. > > I had no idea that there was such a camp. I like that. > > Can I come hang out in your camp? I'll bring my own sleeping bag and > marshmallows. > In this case you're welcome. I know I read this in two independent blog entries, but I can't find them now. So I imagine i do not really own this camping site ;-) best regards, Brian -- http://ruby.brian-schroeder.de/ Stringed instrument chords: http://chordlist.brian-schroeder.de/