logo       

Private metods as my*?: msg#00140

lang.smalltalk.squeak.beginners

Subject: Private metods as my*?

Greetings,

I'm trying to fill in the gaps in my Smalltalk knowledge and so am going through some of the free books (thanks, Steph!). Right now I'm looking at "Smalltalk By Example" where it talks about the absence of private messages. (I've run up against methods that were private I've needed so much in other langauges that I'm not a big fan of the concept, but that aside...)

Anyway, it suggests using a my- prefix for privates and an fr- for friends (or "protected", I guess).

Thoughts?

===Blake===


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

News | FAQ | advertise