You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

33 lines
1.1 KiB

From: jody at (Jody Winston)
Date: 08 Apr 1999 10:19:36 -0400
Subject: Chaning instance methods
References: <> <000801be8188$b59aa9a0$749e2299@tim> <>
Message-ID: <>
X-UID: 250
What I was trying to do was to dynamically change the runtime behavior of an
object instance by loading the new methods from a permanent store. Since this
wasn't easy to do, I now just save off all of the attributes, kill the
old object, create a new object, and restore the attributes.
This works, but it doesn't seem to be as elegant as having the ability
to replace methods.
Jody Winston
Manager SeisRes
Lamont-Doherty Earth Observatory
RT 9W, Palisades, NY 10964
jody at, 914 365 8526, Fax 914 359 1631
Under US Code Title 47, Sec.227(b)(1)(C), Sec.227(a)(2)(B) This email
address may not be added to any commercial mail list with out my
permission. Violation of my privacy with advertising or SPAM will
result in a suit for a MINIMUM of $500 damages/incident, $1500 for