logo       

private methods: your opinion wanted: msg#01246

lang.smalltalk.squeak.general

Subject: private methods: your opinion wanted


Squeak has a way to create private methods by using a method name with "pvt"
at the beginning. About six methods actually use this, so it isn't common.

I am working on some code that I will release to the public. I expect that
the code will be used and modified by more than just myself. I think private
methods would help with maintaining the code, and understanding it, especially
for those who didn't write the code. But so few programmers have used private
methods that I wonder if Squeakers care about it, or would find it distracting
if they see it in one place and almost nowhere else in the image.


So my question is, should I create public/private methods for this code?

Doug R.




<Prev in Thread] Current Thread [Next in Thread>
Google Custom Search

News | FAQ | advertise