• 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: Dynamic menu building
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Dynamic menu building


  • Subject: Re: Dynamic menu building
  • From: Cameron Hayne <email@hidden>
  • Date: Fri, 15 Aug 2003 17:33:03 -0400

On 8/15/03 4:10 PM, "Chris Hanson" <email@hidden> wrote:

> I think the key point is that usually a variable is just a reference to
> an object. A variable isn't the object itself.
>
> So when we write
>
> NSString *myString = @"foo";
>
> we may use shorthand and say "myString is 'foo'" but really what we
> mean is "the variable myString currently refers to an NSString instance
> with the value 'foo'."

Here's what Larry Wall et al say about this issue in "Programming Perl":

"Technically, an object isn't the reference proper - it's really the
referent that the reference points at. This distinction is frequently
blurred by Perl programmers, however, and since we feel it's a lovely
metonymy, we will perpetuate the usage here when it suits us. (Footnote: We
prefer linguistic vigor over mathematical rigor. Either you will agree or
you won't.)"

--
Cameron Hayne (email@hidden)
Hayne of Tintagel
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.

References: 
 >Re: Dynamic menu building (From: Chris Hanson <email@hidden>)

  • Prev by Date: Reading EXIF from image files
  • Next by Date: Re: Why use NSClassWithString?
  • Previous by thread: Re: Dynamic menu building
  • Next by thread: Re: Dynamic menu building
  • Index(es):
    • Date
    • Thread