[plt-scheme] Re: Scheme sources readability

From: Grant Rettke (grettke at acm.org)
Date: Sun Sep 7 14:45:09 EDT 2008

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.


Posted on the users mailing list.