Re: required in .h
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)