An interesting presentation and discussion

Ramon Leon rleon at insario.com
Wed Feb 8 17:47:38 UTC 2006


Well, you said 2.0 which is why I asked, it's not 2.0, it's 3.0.  It will let you add instance methods by using a convention similar to what programmers already do, create utility classes with only static methods, and they'll appear as instance methods on the classes you're extending, very much like extension methods in Smalltalk.  However, since 2.0 was just released it's kind of pointless, 3.0 is vaporware and will be for quite some time. 

> -----Original Message-----
> From: squeak-dev-bounces at lists.squeakfoundation.org 
> [mailto:squeak-dev-bounces at lists.squeakfoundation.org] On 
> Behalf Of stéphane ducasse
> Sent: Wednesday, February 08, 2006 10:41 AM
> To: The general-purpose Squeak developers list
> Subject: Re: An interesting presentation and discussion
> 
> apparently you can add "static" like method on a class (at 
> least this will be in 3.0).
> So this is not really class extension.
> 
> By the way I show the slides to an excellent expert on type 
> systems from SUN and he said that the idea of dependent types 
> were really not good. :)
> 
> Stef
> 
> 
> >  C# 2.0 can do what, can you be more precise?
> >
> >> -----Original Message-----
> >> From: squeak-dev-bounces at lists.squeakfoundation.org
> >> [mailto:squeak-dev-bounces at lists.squeakfoundation.org] On 
> Behalf Of 
> >> Douglas Rollwitz
> >> Sent: Tuesday, February 07, 2006 8:16 PM
> >> To: nicolas at roard.com; The general-purpose Squeak developers list
> >> Subject: Re: An interesting presentation and discussion
> >>
> >>
> >> 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.
> >
> >
> 
> 
> 



More information about the Squeak-dev mailing list