From: Austin Ziegler Date: 2006-02-02T07:23:10+09:00 Subject: Re: Indentation vs. "end"s On 01/02/06, Rubyist wrote: > >> What would be even better would be to allow optional labels after end > >> statements, such as "end class", "end def", so the parser can catch > >> more errors. > That sound like a good idea. But what about "if", "when", "for", > "until" etc? > Hmm... > "endif", "end when", "end for", "end until", "end class", "enddef",... > Umh! A never "ended" nightmare. I'm not particularly fond of IF ... ENDIF constructs, but one can simulate this: def foo ... end # def foo I don't do it, though. Vim does a damn fine job of folding things for me. -austin -- Austin Ziegler * halostatue@gmail.com * Alternate: austin@halostatue.ca