How does comments work




















If someone else is commenting on the document, replying to their comments lets you have a discussion, even when you're not all in the document at the same time. Type your comment. If you want to make changes to any of your comments, just go back and edit them. Note: Keep in mind that it's possible for others to edit your comments. Comments in an Office document are stored in the file, so anyone with edit access to your file can edit your comment.

To delete all the comments in the document, go to the Review tab, click the down-arrow on Delete , and choose Delete All Comments in Document. Type your comment, and select Post. To reply to a comment thread, go to the comment, and select mention or reply. Bubbles in the margin indicate where someone has left a comment. You can edit a comment by selecting Edit comment under the More thread actions drop down menu, which can be found in the top right hand corner of the comment.

Note: In Word for the Web we have restricted the Edit comment option to be available only on comments that you have authored. However, keep in mind that it may still be possible for others to edit your comments by modifying your Office file directly.

You can delete a comment by selecting Delete thread under the More thread actions drop down menu, which can be found in the top right hand corner of the comment. Table of contents. The brand association was so strong that I assumed she must be known to these stars in some way. Not only did I not follow her, however, neither did the celebrities whose photos she was lovingly commenting on. Even Asano noticed that her comments came up at the bottom of posts he saw, despite having never visited her account before.

Cooper was totally frank about how commenting boosts her own platform. It also helps me meet new people and then they come to my page and potentially become followers.

It helps to pretend we pay for it, to remember the old adage: Buyer beware. Any "tricky" code where it is not immediately obvious what you are trying to accomplish, should have comments right above it or on the same line with it. Comments should be useful high level descriptions of what the program is doing. They should not restate something that is "obvious". By using appropriate variable names, much of a program can be almost as easy to read as English. Primarily, a single "block" comment should be placed at the top of the function or file and describe the purpose the code and any algorithms used to accomplish the goal.

In-line comments should be used sparingly, only where the code is not "self-documenting". When you do use "in-line" comments, you should place them before or next to any code that is not self explanatory. This comment should detail the "idea" behind the code and what is to be accomplished. It may also say how this is to be accomplished if the "algorithm" is complex.

In line comments are those that are found in the general body of the program. They are usually very short a line or two comments making a "note" about what is going on. In line comments are usually made using the "single line" commenting syntax of the language. You should add "in-line" comments wherever you think a little bit of English explanation would be useful to either yourself or someone else like a TA who is going to read your code.

Such in-line comments should be used whenever the code is not "transparent" easy to follow simply from the names of the variables. See the section below on self documenting code, which allows a programmer to minimize the number of necessary comments.

Self documenting code uses well chosen variable names and function names to make the code read as close to English as possible. This should be your goal. For example, naming a variable g has little meaning, but naming a variable gravity gives a much better description of what the variable should contain.

By using proper variable and function names, you should minimize the amount of "external" documentation that is necessary. For example, compare the following two pieces of code? File Header comments are used to identify what is in a file, who wrote it, the date it was written, and a description of what is being solved by the code in the file.

All program files should have header comments and it should be located at the TOP of the file!



0コメント

  • 1000 / 1000