« Return to Thread: Under the hood.

Re: Under the hood.

by Friedrich Weber-3 :: Rate this Message:

Reply to Author | View in Thread

Hi Tobey,

I try to answer some of your questions here :)

`55` *has* a proto, the `Number` object:

Io> 55 protos
==> list(0)
Io> 55 proto == Number
==> true

`0` is just the string representation of the `Number` object (the return
value of `Number asString`).
`55` has no slots because Io uses the concept of differential
inheritance. `Number` itself has a proto, too, the root `Object` object.

Sorry I can't help for the other questions.

Hope that does help you,

Friedrich

 « Return to Thread: Under the hood.