Re: isa
Re: isa
- Subject: Re: isa
- From: Nat! <email@hidden>
- Date: Sat, 1 Jun 2002 23:35:57 +0200
Am Samstag den, 1. Juni 2002, um 22:53, schrieb Aram Greenman:
I also suggested changing the object's isa temporarily, with the
disclaimer that it might be a bad idea.
It is a very bad idea, especially the temporary swizzling.
Exactly how? That is my suspicion, but I would like to know
specifically why it is a bad idea.
Some interesting technical problems are
o another thread accesses unexpectedly your object at the same
time you access it
o your called method bails (throws an exception) and you forget
to catch it
o your called method calls self again and you lose polymorphism
unexpectedly, copy: for example.
Ciao
Nat!
.... Jedenfalls sind zehn Fehlstarts hintereinander ...[E. Fuchs]
.......... ein sehr interessanter Beweis ........................
.............. f|r unsere Theorie ...............................
. von der nat|rlichen \berlegenheit des Dezimalsystems ..........
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.
References: | |
| >Re: isa (From: Aram Greenman <email@hidden>) |