From: Gavin Sinclair Date: 2004-05-02T09:47:44+09:00 Subject: Re: {} VS do/end styles On Sunday, May 2, 2004, 9:53:40 AM, James wrote: >> Just recently I've been trying out the following guidelines: >> >> o If the block returns a value, use {} >> o if the block doesn't return a value, use do/end > { ... } means less typing, plus brace matching in Vim. > Yeah, I know that the ruby plugin for Vim will auto-type do/end for me, > but I also find the braces visually cleaner. I agree with Jim Weirich, and would just like to point out: * Vim will %-match do/end as well as {} * do/end is *easier* to type than {} in terms of wear and tear on my poor fingers Gavin