3 ms·
> I don't think you need to avoid private methods in Java. I think the reverse question is better in Java. Does this method/class need to be public? Only expos
by twistedpair 12y ago
> I don't think you need to avoid private methods in Java.
I think the reverse question is better in Java. Does this method/class need to be public? Only expose the bare minimum in the API so that you retain free reign within your codebase.