Mailing List Archive
tlug.jp Mailing List tlug archive tlug Mailing List Archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]Re: [tlug] ruby and python in Japan
- Date: Tue, 27 Feb 2007 01:05:53 +0900
- From: "Ian MacLean" <imaclean@??>
- Subject: Re: [tlug] ruby and python in Japan
- References: <45E16CA8.2010909@example.com> <20070225122334.GA10626@example.com> <87r6sdk5o7.fsf@example.com> <op.tob5a2bbrtshzt@example.com> <87lkilk06q.fsf@example.com> <op.tocbropkrtshzt@example.com> <87hct9jp8k.fsf@example.com>
On 2/26/07, Stephen J. Turnbull <stephen@??> wrote:Zev Blut writes:
> On Mon, 26 Feb 2007 13:33:17 +0900, Stephen J. Turnbull
> <stephen@??> wrote:
>
> > Zev Blut writes:
> >
> > > Well, this is not restrictive but an annoying aspect is that you must
> > > explicitly declare self in all of your instance methods. It makes the
> > > OO aspect of Python feel tacked on.
> >
> > Ah, you haven't drunk the Kool-Aid. This is an instance of "explicit
> > is better than implicit." I think you should check your mental model
> > of OO. I'm not saying that your annoyance is unwarranted---whatever
> > makes you more productive works for me. My point is that OO and
> > implicit arguments are independent constructs.
>
> I am sorry but I must disagree, this simply reeks of an implementation
> detail.
Well, that's exactly *my* point. It's not that this couldn't have
been added (subtracted?) to the language, it was a deliberate choice.
well then why wasn't it ? Given that a large part of whats good about python is what you don't have to declare ( the types of parameters to functions for example ) what possible benefit is gained from forcing the programmer to explicitly name a self variable for every member function ? Ruby's @example.com notation seems far more convenient for this.
- Follow-Ups:
- Re: [tlug] ruby and python in Japan
- From: Stephen J. Turnbull
- References:
- [tlug] ruby and python in Japan
- From: Micheal Cooper
- Re: [tlug] ruby and python in Japan
- From: Dave Brown
- Re: [tlug] ruby and python in Japan
- From: Stephen J. Turnbull
- Re: [tlug] ruby and python in Japan
- From: Zev Blut
- Re: [tlug] ruby and python in Japan
- From: Stephen J. Turnbull
- Re: [tlug] ruby and python in Japan
- From: Zev Blut
- Re: [tlug] ruby and python in Japan
- From: Stephen J. Turnbull
Home | Main Index | Thread Index
- Prev by Date: Re: [tlug] ruby and python in Japan
- Next by Date: Re: [tlug] ruby and python in Japan
- Previous by thread: Re: [tlug] ruby and python in Japan
- Next by thread: Re: [tlug] ruby and python in Japan
- Index(es):
Home Page Mailing List Linux and Japan TLUG Members Links