[Vm-dev] Proposal: get rid of primitive numbers

ungar at mac.com ungar at mac.com
Mon Mar 12 05:32:50 UTC 2012

Great idea! But let's not stop there: how about getting rid of classes, too?

- David (Don't worry if you don't get it.)

On Mar 10, 2012, at 3:08 AM, Igor Stasenko wrote:

> I am get annoyed by these numbers..
> why, living in our amazingly powerful smalltalk world, in order to see
> what the primitive does,
> i should first lookup the selector in #initializePrimitiveTable method?
> Is it so hard for compiler to lookup the prim by its symbolic name ,
> why i forced to do that manually all the time?
> Just out of curiosity, can anyone say (without looking into image), what
> <primitive: 135> does?
> And now, same question, what
> <primitive: #primitiveMillisecondClock>
> does?
> Never ending fight: meaningful names vs meaningless numbers
> -- 
> Best regards,
> Igor Stasenko.

More information about the Vm-dev mailing list