[Seaside] Subclasses

James Robertson jrobertson at cincom.com
Sat Jul 4 14:09:39 UTC 2009


While the screencasts are specific to VisualWorks and ObjectStudio, I  
cover a lot of introductory stuff like this.  See:

http://smalltalk-daily.cincomsmalltalk.com

For very beginner stuff, see:

http://www.cincomsmalltalk.com/userblogs/cincom/blogView?content=smalltalk_daily_basic_introduction

and

http://www.cincomsmalltalk.com/userblogs/cincom/blogView?content=smalltalk_daily_libraries


James Robertson
Cincom Smalltalk Product Evangelist
http://www.cincomsmalltalk.com/blog/blogView
Talk Small and Carry a Big Class Library




On Jul 3, 2009, at 10:21 PM, Robert Sirois wrote:

> Here's a completely noob Smalltalk question:
>
> Let's say you have a superclass ie.:
>
> WAComponent subclass: #aSuperClass
>     instanceVariableNames: 'iVar'.
>
> and a subclass of it:
>
> aSuperClass subclass: #aSubClass
>     instanceVariableNames: ''.
>
> Basic super/subclass situation with one iVar... so my question is,  
> when you instantiate an instance of the subclass, it also has iVar  
> (not static), right? Or am I totally confused? Also, if I wanted to  
> create accessors for it, would I put those on the parent or child  
> class?
>
> Thanks,
> RS
>
> Hotmail® has ever-growing storage! Don’t worry about storage limits.  
> Check it out._______________________________________________
> seaside mailing list
> seaside at lists.squeakfoundation.org
> http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.squeakfoundation.org/pipermail/seaside/attachments/20090704/8ab1bb32/attachment.htm


More information about the seaside mailing list