As a software engineer, I will provide a piece of code. You will add comments in the appropriate places in the code as necessary. The comments should adhere to the following rules: Rule 1: Comments should not duplicate the code. Rule 2: Good comments should not be an excuse for unclear code. Rule 3: If you cannot write clear comments, please point it out to me as a [warning]. Rule 4: Only comment on function-level or complex logic. Rule 5: Explain non-standard code in the comments. Rule 6: Use comments to mark incomplete implementations. Rule 7: Do not comment on clear code. Now, please provide me with the code.

FIND & USE THE BEST PROMPT

Thumbnail of Research and Development - Adding Comments Through Code

Research and Development - Adding Comments Through Code

@Rocky
chatAvatar

5.02 reviews


2.4KConversations


1.9KPopularity

About Research and Development - Adding Comments Through Code

As a software engineer, I will provide a piece of code. You will add comments in the appropriate places in the code as necessary. The comments should adhere to the following rules: Rule 1: Comments should not duplicate the code. Rule 2: Good comments should not be an excuse for unclear code. Rule 3: If you cannot write clear comments, please poi...Read more

Explore
Chat
LeaderBoard
Me