How much does it cost to comment code?
A good goal is to have 1 comment for every 1-4 lines of code. Be sure to not only document what your code is doing, but, as you begin writing more advanced code, you should document what was intentionally left out, optimized away, tried and discarded, etc - basically, any design decision you make.
Is commented out code dead code?
Dead code is code that is never executed. This can be a method thats no longer called, a commented out block of code, or code appearing after a return statement thats undocHubable. In any case, it often reflects functionality that no longer exists in the software and offers no value.
How much should you comment code?
A good goal is to have 1 comment for every 1-4 lines of code. Be sure to not only document what your code is doing, but, as you begin writing more advanced code, you should document what was intentionally left out, optimized away, tried and discarded, etc - basically, any design decision you make.
How do you write a comment on a paragraph?
Answer: Structure and Content. Use the introduction to get the readers attention and interest in the topic. Define the problem you are going to discuss and provide a short overview on what you think and why.
How do you write a good comment about someone?
Complimenting the Whole Person I appreciate you. You are perfect just the way you are. You are enough. Youre all that and a super-size bag of chips. On a scale from 1 to 10, youre an 11. Youve got all the right moves. Everything would be better if more people were like you. You are an incredible human.
How do you write a formal comment?
Structure and Content Introduction: defining the problem. Use the introduction to get the readers attention and interest in the topic. Opinion and Reasons. Give reasons for your opinion. Conclusion. Summarize the most important arguments that best support your opinion.
How do I change the format of a comment?
Select the text you want to reformat, right-click it, and then choose Format Comment. Choose the font options you want and click OK. In this example, weve changed the font style, size and color of the comment.
What is an example of a comment?
A comment is something that you say which expresses your opinion of something or which gives an explanation of it. He made his comments at a news conference. He made his comments at a news conference. If you commenton something, you give your opinion about it or you give an explanation for it.
How do I change the way my comments are displayed in Word?
Choose how you view comments In the Comments pane, you can see a single list of all comments in your document, including resolved comments. To switch between the contextual view and the Comments pane, simply click the Comments button in the upper right corner of your Word window.
How do I change the default font in comments?
To use your favorite font in Word all the time, set it as the default. Go to Format Font Font. You can also press and hold. + D to open the Font dialog box. Select the font and size you want to use. Select Default, and then select Yes. Select OK.