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

Igor Stasenko siguctua at gmail.com
Sat Mar 10 11:08:08 UTC 2012

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>

Never ending fight: meaningful names vs meaningless numbers

Best regards,
Igor Stasenko.

More information about the Vm-dev mailing list