• 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: required in .h
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: required in .h


  • Subject: Re: required in .h
  • From: Chris Gehlker <email@hidden>
  • Date: Wed, 29 Aug 2001 08:08:05 -0700

On 8/28/01 10:32 PM, "Michael B. Johnson" <email@hidden> wrote:

> I *strongly* disagree with this. The public interface of the class should
> be in the header file - and that's it. Whatever's in the header file will
> probably *become* the public API, so best to plan for it. I will almost
> always (certainly for any non-trivial classes) have a raft of private
> helper methods in my class that I use to simplify or streamline the
> current implementation of the public methods, but that I don't want to
> expose as public API (because once I do, I'm stuck with it).

My bad. I should have said that every method and every function should be
declared in some @interface block.
--
When I was a boy I was told that anybody could become President. Now I'm
beginning to believe it. -Clarence Darrow, lawyer and author (1857-1938)


References: 
 >Re: required in .h (From: "Michael B. Johnson" <email@hidden>)

  • Prev by Date: Re: Is K&R Still Relevant?
  • Next by Date: capture keystrokes
  • Previous by thread: Re: required in .h
  • Next by thread: Re: Required in .h
  • Index(es):
    • Date
    • Thread