But keep in mind that if you are working with other people, and they are going to use your code, they only need to see the public functions, because that's all they are going to use.tappatekie wrote:@The Floating Brain:
erm.. No idea why your post was deleted? but the answer is, I prefer having private members on top of public to basically say, these public functions use these private functions.
If you have a huge list of private stuff at the top, people would need to scroll down an look for the things they wanna use.
Private stuff is only(?) used within that class. Putting it at top and say "Look at this" is in my eyes not efficient.
But we all find our own way of dealing with things. If you find this easier to read and understand, go for it ^^
This method helps me. "Do I have a function to rotate and scale the text?" *Looking through the public functions* "Oh, yes, I have. And that's how I use it".