Prothon Prototypes vs Python Classes

Joe Mason joe at notcharles.ca
Sat Mar 27 22:56:11 EST 2004


In article <106ceeeqc8ph126 at news.supernews.com>, John Roth wrote:
> It's certainly true that in a prototype based language all objects
> exist: there are no objects that the compiler deals with but does
> not put into the resulting program. And it's quite true that it does
> open up the floodgates for a lot of messiness.

Hmm, I bet an optimizing compiler could take care of that for statically
linked programs, although you'd still need to put all the objects in the
libraries just in case some user wants to instantiate them.  (Although
an explicit export list could help the compiler out there.)

Joe



More information about the Python-list mailing list