Indentation vs. "end"s

Then get to *REALLY* love Python and the problem is gone for you (and
for honorable Bruce Eckel too).
Otherwise it looks like an inviation to a flame.

Gennady.

···

-----Original Message-----
From: Rubyist [mailto:nuby.ruby.programmer@gmail.com]
Sent: Wednesday, February 01, 2006 13:37
To: ruby-talk ML
Subject: Indentation vs. "end"s

Hi,

I *REALLY* love Ruby very much. But I always find those
"end"s somewhat ugly ( thousands of excuses to Matz ). I
sometimes feel myself wishing that Ruby use indentation (as
Python does) instead of "end"s.

Today, I have seen a post in:

Ruby, PHP and a Conference

As far as I know, Bruce Eckel is a competent programmer and
when I saw that he was agree with me, I surprised.

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?

Then get to *REALLY* love Python and the
problem is gone for you (and
for honorable Bruce Eckel too).
Otherwise it looks like an inviation to a flame.

Is this a "solution"? Are your "solutions" always like this?

"Love or get away".

Hmm... Quite impressive. You can solve every problem with this
approach. I will try it in a spare time.

Do you dislike writing or reading the 'end's? If the latter, set your
editor's syntax highlighting to grey them to near-invisibility - that
way it'll indent everything properly, and you won't see the actual 'end'
in your code.

martin

···

Rubyist <nuby.ruby.programmer@gmail.com> wrote:

>> Then get to *REALLY* love Python and the
>> problem is gone for you (and
>> for honorable Bruce Eckel too).
>> Otherwise it looks like an inviation to a flame.

Is this a "solution"? Are your "solutions" always like this?

"Love or get away".

Hmm... Quite impressive. You can solve every problem with this
approach. I will try it in a spare time.