• 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: static typing (Learning Cocoa Chapter 13)
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: static typing (Learning Cocoa Chapter 13)


  • Subject: Re: static typing (Learning Cocoa Chapter 13)
  • From: Chris Gehlker <email@hidden>
  • Date: Sun, 23 Sep 2001 09:51:07 -0700

On 9/23/01 3:51 AM, "Ondra Cada" <email@hidden> wrote:

> I would beg to differ in opinion of calling those things "handles". So far
> as I remember the Mac OS API I've used till I went NeXTStep, "handle" was not
> a generic synonyme for any pointer to a pointer, but a very special name of
> a very special OS-controlled pointer to a pointer, whose contents was in some
> situations changed by OS (to limit fragmentation).

I understood Ondra's first post perfectly. In context it was clear what
meaning of "handle" was.

Having said that, there are at least four distinct meanings of "handle" in
computer jargon.

1) a Memory Manager handle in MacOS Old and QuickTime
2) a Windows handle, such as a file handle or a window handle (which I only
understand well enough to port around).
3) any class which has a pointer or pointers to another class or classes,
called representation classes, that do lower level implementation, i.e.
NSImage.

4) a pointer to a pointer.

My experience is that if it's not clear from context, definition three above
is usually what's meant.
--
C++: The power, elegance and simplicity of a hand grenade.


References: 
 >Re: static typing (Learning Cocoa Chapter 13) (From: Ondra Cada <email@hidden>)

  • Prev by Date: Re: Modal run loop input sources (Chris Kane)
  • Next by Date: Re: Naive Pop-Up Button Example
  • Previous by thread: Re: static typing (Learning Cocoa Chapter 13)
  • Next by thread: Re: static typing (Learning Cocoa Chapter 13)
  • Index(es):
    • Date
    • Thread