private methods: your opinion wanted

yampa at mindspring.com yampa at mindspring.com
Wed Aug 28 04:26:05 UTC 2002


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.



More information about the Squeak-dev mailing list