|
private methods: your opinion wanted: msg#01246lang.smalltalk.squeak.general
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> |
|---|---|---|
| Previous by Date: | Re: New MP3 License Terms Demand $0.75 Per Decoder, John Hinsley |
|---|---|
| Next by Date: | Re: private methods: your opinion wanted, David Farber |
| Previous by Thread: | New MP3 License Terms Demand $0.75 Per Decoder, Andreas Kuckartz |
| Next by Thread: | Re: private methods: your opinion wanted, Alan Grimes |
| Indexes: | [Date] [Thread] [Top] [All Lists] |
| News | FAQ | advertise |