Re: Method not seeing array as array
Re: Method not seeing array as array
- Subject: Re: Method not seeing array as array
- From: Guy English <email@hidden>
- Date: Thu, 3 Feb 2005 01:07:01 -0500
> On Feb 2, 2005, at 8:13 PM, Andrew Farmer wrote:
> >> do {
> >> if(!<stuffWorks>)
> >> break;
> >>
> >> if(!<moreStuffWorks>)
> >> break;
> >>
> >> return self;
> >> } while(0);
> >>
> >> [self release];
> >> return nil;
Well I guess this is straying from Cocoa ... but, does anyone *really*
think that's a better idea than the goto? A child can understand the
goto at a glance ... this is just obtuse for the sake of not actually
typing the word "goto" despite the fact that that's *exactly* what it
does. And you don't even get a nicely named label! Anyway ... probably
should have kept my mouthshut. Any here like emacs?
With that out of the way I'd like to ask if anyone implements class
clusters? I haven't needed one yet and I think many of the obvious
cases where you might like one have been taken care of by Cocoa
already (what's new though). Is it an idiom that people employ or do
other design patterns popularized by more static languages supercede
it? After all it's essentially the factory pattern with a more dynamic
twist.
Guy
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden