[plt-scheme] Re: Scheme sources readability
On Sun, Sep 7, 2008 at 12:49 PM, Veer <diggerrrrr at gmail.com> wrote:
> In my opinion you only need to know public interface to use it in your
> application.
> If public interface is documented well , then there is no need to look
> into the implementation. Don't we use OS api's without knowing how
> they are implemented.
That is true.
The contrived notion of private methods to communicate something is
archaic, it virtually never adds value.
Keep all of your class methods public, implement an interface;
document and test to your hearts content.