• 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: Open System Preferences?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Open System Preferences?


  • Subject: Re: Open System Preferences?
  • From: Ondra Cada <email@hidden>
  • Date: Sun, 16 Apr 2006 18:53:40 +0200

Oh, sorry,

On 16.4.2006, at 18:37, Ondra Cada wrote:

In this very case (all the names fixed, no accents or spaces) I would even consider using the -- in general very rightly avoided -- "system" call

I've read the thread a bit too fast: since in this case the "spacelessness" :) is not granted (for there is a non-trivial probability the pref pane name would change in future to something more elaborate), it is not the right place for using "system".


The rigth place is something like system("defaults write - globalDomain OCSSomeSpecialDefault YES"): though you can write many times more efficient code, you just can't beat the simplicity and failproofness of this. Which, implementation-and-maintenance-cost- wise, may count much more than the efficiency.
---
Ondra Čada
OCSoftware: email@hidden http://www.ocs.cz
private email@hidden http://www.ocs.cz/oc



_______________________________________________ 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: 
 >Open System Preferences? (From: d2kagw <email@hidden>)
 >Re: Open System Preferences? (From: Andrei Tchijov <email@hidden>)
 >Re: Open System Preferences? (From: Uli Kusterer <email@hidden>)
 >Re: Open System Preferences? (From: d2kagw <email@hidden>)
 >Re: Open System Preferences? (From: Uli Kusterer <email@hidden>)
 >Re: Open System Preferences? (From: Ondra Cada <email@hidden>)

  • Prev by Date: YAMDBP
  • Next by Date: Re: Open System Preferences?
  • Previous by thread: Re: Open System Preferences?
  • Next by thread: Re: Open System Preferences?
  • Index(es):
    • Date
    • Thread