[Newbies] What's the relationship between scripts and methods?
Steinar Bang
sb at dod.no
Wed Apr 8 18:28:30 UTC 2009
The scripts, converted to code, kind of look like like methods.
What are the relationship of scripts and methods? Are scripts instance
level methods? I see two possible implementations for this:
- the eToys objects could have a system dictionary of methods as an
instance value?
- eToys objects could be singletons of a new class created on the fly?
Or are scripts code blocks associated with the instance in some other
way?
- Steinar
More information about the Beginners
mailing list