Possible Duplicate:
What did you do to develop good code designing practices
There are two different situations.
- you read someone's code, and you know what they are doing intuitively.
- you read someone's code, even there are many comments, but you really don't know what he wants to do.
I wonder whether or not there are best practices that help people to write elegant code for other body to know?