• 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: [OT] "Fluent Interface"? Welcome to NeXT
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [OT] "Fluent Interface"? Welcome to NeXT


  • Subject: Re: [OT] "Fluent Interface"? Welcome to NeXT
  • From: Uli Kusterer <email@hidden>
  • Date: Sat, 4 Aug 2007 07:20:20 +0200

On 04.08.2007, at 00:39, Oleg Kibirev wrote:
No problem, just use [NSNull null], (id)1 or the like in your code. Current design is useful for code with a lot of optional object relationships that would otherwise be littered with if statements.

Tell that to all the system APIs that return NIL on failure. I can't change those. I've seen enough applications just quietly go lobotomic just because something didn't load in the middle of a call chain and the user was never notified of the error. Similarly, it's kinda pointless how many classes just log to the console when something goes wrong, where no user is ever likely to see it (not to mention no developer, as is evident from the way iChat keeps littering my system logs with its inability to convert its own dates...).


Cheers,
-- M. Uli Kusterer
http://www.zathras.de



_______________________________________________

Cocoa-dev mailing list (email@hidden)

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden


  • Follow-Ups:
    • Is ignoring nil a good thing? (was Re: [OT] "Fluent Interface"? Welcome to NeXT)
      • From: Alastair Houghton <email@hidden>
References: 
 >RE: [OT] "Fluent Interface"? Welcome to NeXT (From: Jeff Laing <email@hidden>)
 >Re: [OT] "Fluent Interface"? Welcome to NeXT (From: Uli Kusterer <email@hidden>)
 >Re: [OT] "Fluent Interface"? Welcome to NeXT (From: Oleg Kibirev <email@hidden>)

  • Prev by Date: Re: Catching events in an empty window.
  • Next by Date: How to apply arguments to .app application while starting it on Terminal?
  • Previous by thread: Re: [OT] "Fluent Interface"? Welcome to NeXT
  • Next by thread: Is ignoring nil a good thing? (was Re: [OT] "Fluent Interface"? Welcome to NeXT)
  • Index(es):
    • Date
    • Thread