[lnkForumImage]
TotalShareware - Download Free Software

Confronta i prezzi di migliaia di prodotti.
Asp Forum
 Home | Login | Register | Search 


 

Forums >

comp.lang.ruby

Re: pre/post question/idea

Chad Fowler

11/28/2003 4:10:00 AM

4 Answers

T. Onoma

11/28/2003 6:14:00 AM

0

On Friday 28 November 2003 05:09 am, Chad Fowler wrote:
> On Fri, 28 Nov 2003, T. Onoma wrote:
>

> I don't see how these are the same idea. And, yes, I read the "dang" RCR.

HUH?

wrap
...
end

is nothing like?

pre
...
end

Doh! What was I thinking!? Well, I don't care anyway. Obviously David is just
ignoring my comment. Nor any mention of my RCR. His loss.

> In particular, your implicit method definition stacking looks like it
> would very quickly lead to some unmanagable knots of code. When I look at
> it, my mind thinks overwrite. The comparison to the usage of "super" in
> inheritance seems like a serious stretch.

Stretch? That's funny because singletons are essentially an implementation of
wraps, the concpet of which being the foundation of my proposal, and I don't
here any body claiminging their unmanagable.

> I fully understand what you are saying in the RCR, but I don't think it
> will make intuitive sense to Ruby users. I think pre, post, and wrap need
> to be explicit (as matz has laid them out in his proposal). Additionally,
> if we're going to stack method definitions, that should be explicit too.
> Inheritance, maybe only historically, is in my opinion a good place to
> draw the line between implicit feature addition and replacement.

Suit yourself, draw a line. But I think your just further complicating the
language, which at this point could actually use some simplification. Sadly,
it seems like Ruby's headed the way of Perl :(

-t0


T. Onoma

11/28/2003 6:55:00 AM

0

On Friday 28 November 2003 05:09 am, Chad Fowler wrote:

> I don't see how these are the same idea. And, yes, I read the "dang" RCR.

Oh, and Chad,

Thanks for reading the RCR. I would have liked to known your thoughts prior
to my explication. For what am I to think? I'm having a discussion on the
topic and I've asked that others read it for the sake of that discussion. But
only one person has commented and that is Austin. So, as far as I can tell no
one has read it. Especially when David comes along and suggests "his" idea
about the keyword, which I've already made. Can you understand where I'm
coming from?

Sincerely,
-t0


dagbrown

11/28/2003 7:39:00 AM

0

In article <200311272207.57432.transami@runbox.com>,
T. Onoma <transami@runbox.com> wrote:
: Obviously David is just ignoring my comment. Nor any mention of
: my RCR. His loss.

Please don't make personal attacks here.

Thank you.

--Dave

T. Onoma

11/28/2003 8:02:00 AM

0

On Friday 28 November 2003 08:42 am, Dave Brown wrote:
> In article <200311272207.57432.transami@runbox.com>,
>
> T. Onoma <transami@runbox.com> wrote:
> : Obviously David is just ignoring my comment. Nor any mention of
> : my RCR. His loss.
>
> Please don't make personal attacks here.

That's not a personal attack. From where I'm sitting, that looks to be a fact.

-t0