• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Method not seeing array as array
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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

References: 
 >Method not seeing array as array (From: Michael Swan <email@hidden>)
 >Re: Method not seeing array as array (From: Andrew Farmer <email@hidden>)
 >Re: Method not seeing array as array (From: Marco Scheurer <email@hidden>)
 >Re: Method not seeing array as array (From: Andrew Farmer <email@hidden>)
 >Re: Method not seeing array as array (From: Shawn Erickson <email@hidden>)
 >Re: Method not seeing array as array (From: Andrew Farmer <email@hidden>)
 >Re: Method not seeing array as array (From: Shawn Erickson <email@hidden>)

  • Prev by Date: KVO with Proxy Classes
  • Next by Date: Newbie advice
  • Previous by thread: Re: Method not seeing array as array
  • Next by thread: Re: Method not seeing array as array
  • Index(es):
    • Date
    • Thread