Re: [Off-Topic] Preguntas sobre Smalltalk (era: tortuga lenta)

Diego Gomez Deck <[email protected]>
Newsgroups gmane.education.small-land
Message-ID <[email protected]>
> > > Cómo se hace en Smalltalk para que un método
> > > redefina a otro método? 
> > 
> > De la misma forma que se hace todo en Smalltalk: Enviando mensajes a
> > Objetos.
> > 
> > En el caso concreto se puede enviar un mensaje al objeto compilador, o a
> > la clase, etc.
> > 
> > > Es posible que un
> > > objeto se reprograme así mismo?
> > 
> > Es posible que un objeto le mande mensajes a cualquier objeto, entre los
> > objetos que tenemos hay algunos que pueden generar objetos que tienen
> > comportamiento.
> > 
> > En Smalltalk un objeto puede "reprogramar" a cualquier otro, inclusive a
> > si mismo.
> 
> Diego,
> 
> Más que nada por curiosidad, podrías indicarme un poco de código
> donde esto ocurra, o alguna referencia de la web, donde pueda
> enterarme.

Un buen punto de entrada a todo el framework de compilación de Squeak es
el método Behavior>>compile:

Desde allí podés llegar a ver todos los objetos involucrados en la
compilación e instalación de un método.

> Daniel

Saludos,

-- Diego




------------------------ Yahoo! Groups Sponsor --------------------~--> 
$9.95 domain names from Yahoo!. Register anything.
http://us.click.yahoo.com/J8kdrA/y20IAA/yQLSAA/zCsqlB/TM
--------------------------------------------------------------------~-> 

Visita nuestro sitio en http://www.small-land.org
 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/small_land/

<*> To unsubscribe from this group, send an email to:
    [email protected]

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.