• 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: C string constant->NSString constant without defining twice?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: C string constant->NSString constant without defining twice?


  • Subject: Re: C string constant->NSString constant without defining twice?
  • From: Uli Kusterer <email@hidden>
  • Date: Wed, 29 Apr 2009 09:00:02 +0200

On 28.04.2009, at 22:58, Erg Consultant wrote:
Except in the case where one line of code creates the temp file and then another immediately uses it and deletes is - as in my case. There is zero chance the user could FUS faster than my 2 lines of code create and delete the file.


Wish that were true. You'd be surprised how fast some users manage to switch, or how a slow disk can cause the operation to pause long enough for FUS to be done.

And even if that weren't the case, keep in mind that there are various ways (VNC, AppleScript etc.) how a user could trigger the action on a switched-out user as well. This is Unix, we have remote logins.

Don't make assumptions just because you're lazy. Friends don't let friends hardcode absolute paths.

Cheers,
-- Uli Kusterer
"The Witnesses of TeachText are everywhere..."
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


References: 
 >Re: C string constant->NSString constant without defining twice? (From: Graham Lee <email@hidden>)
 >Re: C string constant->NSString constant without defining twice? (From: Erg Consultant <email@hidden>)

  • Prev by Date: Re: How to make NSSplitView not dragable
  • Next by Date: Re: NSButtonCell visibility binding in NSOutlineView
  • Previous by thread: Re: C string constant->NSString constant without defining twice?
  • Next by thread: Re: C string constant->NSString constant without defining twice?
  • Index(es):
    • Date
    • Thread