From: Eric Hodel Date: 2006-02-02T07:21:55+09:00 Subject: Re: Indentation vs. "end"s On Feb 1, 2006, at 1:37 PM, Luke Duncalfe wrote: > "Rubyist" wrote in message > news:1138571607.569617.32920@z14g2000cwz.googlegroups.com... >> What do you think about those "end"s? Do you *REALLY* like them? >> Will Ruby-2 offer an alternative? Well, maybe not "indentation" but >> will another solution be available? > > I've got to declare that I also like the idea of dropping the ends > a la > Python, although if the effect of that is that your whitespace becomes > strict I'm not sure which way is better. I have looked at some of > my and > other people's Ruby code and often been tempted to select those last 5 > 'ends' and hit the delete button. : ) I typically find I'm doing something wrong if I have five ends in a row. Too much complexity in one method. Three is usually my max, but I don't make a rule of it, it just happens. -- Eric Hodel - drbrain@segment7.net - http://segment7.net This implementation is HODEL-HASH-9600 compliant http://trackmap.robotcoop.com