[Newbies] Private metods as my*?
blake at kingdomrpg.com
Tue Feb 27 21:05:50 UTC 2007
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
Anyway, it suggests using a my- prefix for privates and an fr- for
friends (or "protected", I guess).
More information about the Beginners