|
Re: Defining a class at runtime: msg#00110lang.smalltalk.squeak.beginners
El 7/20/07 7:31 AM, "Bert Freudenberg" <bert@xxxxxxxxxxxxxxx> escribió: >>> ...and yes, of course, there is a runtime. >> >> Well, you could say there is only runtime. Which makes the term >> useless, as it implies some sort of opposite. >> >> Then how would you refer to runtime? In any case, we can oppose it >> to code-definition time. Nothing exciting may happen then, but it's >> worth being able to talk about it. > > There is no technical distinction. All you do when "defining code" is > creating an instance and adding it to a dictionary in some object. > That's no different from other activities you do at "runtime". > > The instance might be an instance of a metaclass and the dictionary > might be held in a global variable called Smalltalk. Or the instance > could happen to be a CompiledMethod instance, and the dictionary > would be the method dictionary of a class object. So what? > > Sending messages, creating instances, storing them in fields of other > objects, wouldn't you call that "runtime" if you insist on that term? > > - Bert - Maybe Louis only use systems on which you need edit, compile, link, and run :) Edgar
|
|
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| Previous by Date: | Defining a class at runtime, Louis Moon |
|---|---|
| Next by Date: | Dead keys on Ubuntu, Fahr Jahrel |
| Previous by Thread: | Re: Defining a class at runtime, Bert Freudenberg |
| Next by Thread: | Defining a class at runtime, Louis Moon |
| Indexes: | [Date] [Thread] [Top] [All Lists] |
| News | FAQ | advertise |