Is there any point to making public-facing methods for private methods in a class?
<p>Sorry if the question sounds confusing. What I mean is that if I have a class that has a method that does a bunch of calculations and then returns a value, I can either make that method public (which gives my other classes access), or I can make it private and make a public get method.</p>

<p>Something like this:</p>

<pre><code>public publicmethod{
    return privatemethod();
}
private privatemethod{
    //do stuff
    return value;
}
</code></pre>

<p>Is this a futile exercise or does it provide additional program security?</p>
