From: Jean-Hugues ROBERT Date: 2004-05-02T17:18:17+09:00 Subject: Re: {} VS do/end styles At 15:12 02/05/2004 +0900, you wrote: > > > * do/end is *easier* to type than {} in terms of wear and tear on > > > my poor fingers > > > > > > Ok, well how 'bout this: braces use fewer characters, so you save disk > > space. > > > >Whether do/end is easier to type than {} is rather subjective... from >personal experience, I tend towards {} because I can type {} in an >easy stroke (hold down shift, roll fingers over { and }), and I can >then fill in. But I digress - I'm just talking of personal experience. > >To tackle the answer from a different angle - my guess is that >programmers who come from a C/Java/Perl environment would lean towards >{}, and programmers from a shell scripting environment may tend >towards do/end, simply because of habit. I come from Pascal, so I tend to do/end. So you are probably right about the habit. The sad thing is that this style issue really matters a lot for people. As a result rejecting either option is religious and accepting both is agnostic. Once again religion leads to war. Really sad. Ruby: a peaceful language (and fun too). Yours, Jean-Hugues ------------------------------------------------------------------------- Web: http://hdl.handle.net/1030.37/1.1 Phone: +33 (0) 4 92 27 74 17