in reply to Re^6: Private method variations
in thread Private method variations
Do I understand you correctly? You would have My:: namespace be like private and Our:: namespace be like protected? Or at least close to it, not exactly mapping to the concepts of Java or C++, but instead maybe more the spirit of the concepts (with a little bit of perl mixed in of course). Or am I reading into what you are saying too much? Because I kind of like that, it would be pretty easy for most perl programmers to understand as well.
quick aside:
I know Bjarne himself questions the idea of protected, but I have always thought it wasn't that bad, as long as it was in capable hands.
|
---|
Replies are listed 'Best First'. | |
---|---|
Re^8: Private method variations
by adrianh (Chancellor) on Mar 02, 2004 at 12:23 UTC |