• 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: AppKit source available as reference?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: AppKit source available as reference?


  • Subject: Re: AppKit source available as reference?
  • From: "David P. Henderson" <email@hidden>
  • Date: Thu, 28 Jun 2001 10:30:08 -0400

On Thursday, June 28, 2001, at 08:44 , Phillip Mills wrote:

> On 6/27/01 10:06 PM, "Rob Rix" <email@hidden> wrote:
>
>> Basically, I don't think it would be a particularly good idea, because
>> the whole idea of objects is to get you to stop caring about how their
>> implemented, and just use the interfaces.
>
> There's a difference between the client of an object not needing to
> "care" about implementation details and a programmer needing
> information about the exact behavior (often unexpected) of a class or
> method. I don't accept that the information hiding part of OOP is
> about hiding it from *people*...at least not when they're in the role
> of student.
>
I disagree. OOD/P is about hiding implementation details from all but
the designer/implementer. You don't need to know the details of an
object's implementation, but you do need to know what an object will do
for you. The programmer is as much a client of the object as another
object is. Explaining the behavior of an object is a function of the
object's documentation, not its implementation. If you can't determine
an object's expected behavior from the documentation, then the object
designer/implementer has violated the contract between himself and the
clients of his object. Since this is true of the Cocoa frameworks to a
large degree, your best bet to understanding an object's behavior is to
post to groups such as this.

Dave
--
Chaos Assembly Werks
"The proper office of a friend is to side with you when you are in the
wrong. Nearly anybody will side with you when you are in the right."
- Mark Twain


  • Follow-Ups:
    • Re: AppKit source available as reference?
      • From: "email@hidden" <email@hidden>
References: 
 >Re: AppKit source available as reference? (From: Phillip Mills <email@hidden>)

  • Prev by Date: NSNumberFormatter and blank text fields
  • Next by Date: Re: Drag&Drop between Carbon and Cocoa ?
  • Previous by thread: Re: AppKit source available as reference?
  • Next by thread: Re: AppKit source available as reference?
  • Index(es):
    • Date
    • Thread