Soldato
- Joined
- 12 Apr 2004
- Posts
- 11,788
- Location
- Somewhere
I suppose you're right about that. Still, though, when commenting your own code, I still maintain that you should treat protected members as public 

Yep, I'd agree with that.I suppose you're right about that. Still, though, when commenting your own code, I still maintain that you should treat protected members as public![]()
I'm the opinion that if it requires a comment, it needs refactoring. It'll need chopping into smaller pieces until it is bite sized and easy to readto a certain degree, I'd definitely agree with that, but sometimes I go back to things and I'm like "what was I smoking when I wrote that?!?!", so I do tend to do a bit of commenting around parts that I think are going to bend my mind later. If it's something that's quite involved and can be used elsewhere, I might write an example of usage as a mini guide on how to use it.