base tried to do too many things, automatically processing the load modules, and also allowing you to set the inheritance of already loaded classes (possibly from a file whose name was not based on the name of the module). To make it work, in some cases, hacking occurred that caused unexpected results. Instead of undoing backward compatibility, a new, pragma of replacing parent with cleaner semantics has appeared.
parent will be the main module as of 5.10.1.
Update: I forgot that base handles fields (if you use the fields pragma), which parent does not.
ysth May 18 '09 at 7:26 a.m. 2009-05-18 07:26
source share