An interesting presentation and discussion
Douglas Rollwitz
colorow at sbcglobal.net
Wed Feb 8 03:16:26 UTC 2006
To me, horizontal subclassing would be similar to
extending a class in ENVY in another application from
where it was defined. C# 2.0 can do this too.
--- Nicolas Roard <nicolas.roard at gmail.com> wrote:
> On 2/6/06, Nicholas Bennett
> <nicholasjbennett at hotmail.com> wrote:
> >
> > Is it just me or does the "horizontal subclassing"
> Tim is looking for
> > (allowing one to extend an existing framework
> (like the licensed Unreal
> > Engine code) by adding some 'cluster' of members
> to some high level class
> > that is deep in the engine) sound a lot like
> Traits?
>
> It looks exactly like the categories in Objective-C,
> where you can do
> just that (declare a category for a class, and the
> methods in the
> category will either replace or be added to the
> original class, even
> if you don't have access to the source code).
>
> --
> Nicolas Roard
> "Any sufficiently advanced technology is
> indistinguishable from magic."
> -Arthur C. Clarke
>
>
More information about the Squeak-dev
mailing list
|