[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Help-smalltalk] Re: criticism of the new syntax
From: |
agonyzhou |
Subject: |
[Help-smalltalk] Re: criticism of the new syntax |
Date: |
Thu, 20 Dec 2007 22:41:49 +0000 |
> So far, you need to use
>
> MyClass extend [
> ]
>
> and write the category manually in each method. Regarding
>
> MyClass category: '...' [
> ]
>
> I said "it's feasible", and I'll implement it. But not now, it's too
> late in the release cycle. I'm very sorry for this, it is a valuable
> addition.
>
> > What does the keyword "extend" do?
>
> It basically says that instance variables declared with "|a b c|" should
> be *added* to the existing one, instead of replacing them.
>
> Paolo
Thanks for clearing the issue up. I am looking forward for further enhancement
to the syntax.
Derek
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Help-smalltalk] Re: criticism of the new syntax,
agonyzhou <=