my Framework

Carlos Lenz carlos.lenz at gmail.com
Thu Jan 3 15:55:46 UTC 2008


Hi David

Since this is your first Smalltalk project, understanding the roles of
messages, objects and classes from the POV of ST will help you.

There are pretty good introductions to ST and/or OO concepts, like this one:

http://www.chronos-st.org/Smalltalk-Getting-the-Message.html


Cheers

Carlos

On Jan 3, 2008 1:22 PM, David Zmick <dz0004455 at gmail.com> wrote:
> ok, Thanks!  that clears it up a lot!!
> happy coding!
>
>
>
>
> On 1/3/08, Herbert König <herbertkoenig at gmx.net> wrote:
> > Hello David,
> >
> > DZ> One more question...How do I know when i need to use a class
> > DZ> method instead of an instance method?
> >
> > the obvious reply is: If you want to talk to the class you need a
> > message implemented as a class side method. Examples:
> >
> > a := Float pi
> > asks the class Float to return an instance of Float with the value of
> > pi. So you'll find the method pi implemented on the class side of
> > float.
> >
> > then a:=  a + 3.0 talks to an instance of Float so you'll find +
> > implemented on the instance side of Float (or on of its superclasses).
> >
> >
> > Cheers,
> > Herbert                            mailto:herbertkoenig at gmx.net
> >
> >
> >
>
>
>
>
>



More information about the Squeak-dev mailing list