FROM : Roarke Lynch
DATE : Mon Apr 25 04:58:41 2005
> NSString *myStupidExample = @"MyCoolDocu";
> myStupidExample = [myStupidExample stringByAppendingString:@"ment"];
> id myDoc = [[NSClassFromString(myStupidExample) alloc] init];
>
> Kinda contrived, but I guess it /could/ be possible. :)
Yeah, but just like alot of other arguments going on in this thread, i
think we all petty much know that a PERFECT tool will not be
efficiently possible for Obj-C, there are to many (normally useful)
cases that depend too much on the the runtime context. But I think that
having some sort of tool that _could_ do the bulk of the clear-cut work
for you would be nice. Saying that, I must must also agree with
whomever said this earlier, that if you take a bit of extra time at the
get-go and proscribe names in your code that make sense, you won't have
to deal with this too much.
Roarke Lynch
-------------------------------
<email_removed>
DATE : Mon Apr 25 04:58:41 2005
> NSString *myStupidExample = @"MyCoolDocu";
> myStupidExample = [myStupidExample stringByAppendingString:@"ment"];
> id myDoc = [[NSClassFromString(myStupidExample) alloc] init];
>
> Kinda contrived, but I guess it /could/ be possible. :)
Yeah, but just like alot of other arguments going on in this thread, i
think we all petty much know that a PERFECT tool will not be
efficiently possible for Obj-C, there are to many (normally useful)
cases that depend too much on the the runtime context. But I think that
having some sort of tool that _could_ do the bulk of the clear-cut work
for you would be nice. Saying that, I must must also agree with
whomever said this earlier, that if you take a bit of extra time at the
get-go and proscribe names in your code that make sense, you won't have
to deal with this too much.
Roarke Lynch
-------------------------------
<email_removed>






Cocoa mail archive

