My point is that you could just Object have methods true,false and nil
Any reasonably optimalizing compiler would replace them with bytecode.
On Mon, Jun 06, 2011 at 08:05:13PM +0200, Toon Verwaest wrote:
> They are parsed just like variables. Rather than finding their declaration
> in the method itself they are known to the compiler. Hence pseudovariables.
> 
> It also has the advantage that you don't have to pollute your literal frame
> since there are special bytecodes that handle them.
> 
> Cheers,
> Toon
> On Jun 6, 2011 5:51 PM, "Ondrej Bilka" <nel...@seznam.cz> wrote:
> > Hello
> > As I started looking at squeak I am puzzled why true,false and nil are
> pseudovariables. Why they cannot be just constants like 0,1.
> >
> > _______________________________________________
> > fonc mailing list
> > fonc@vpri.org
> > http://vpri.org/mailman/listinfo/fonc

> _______________________________________________
> fonc mailing list
> fonc@vpri.org
> http://vpri.org/mailman/listinfo/fonc


_______________________________________________
fonc mailing list
fonc@vpri.org
http://vpri.org/mailman/listinfo/fonc

Reply via email to