Stack Exchange Network

Stack Exchange network consists of 174 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

Questions tagged [comments]

Comments are small addendum to each question or answer, intentionally limited in size and formatting. Comments are second-class citizens.

2
votes
2answers
75 views

Answering questions in comments

On Code Review SE, users should avoid answering questions in comments, because that's not what comments are for: Do not provide suggestions for improvements in a comment, even if your suggestion ...
8
votes
1answer
131 views

Should vote to close for Code Review comments be flagged?

In The accepted answer by durron597 to A guide to Code Review for Stack Overflow users, it is prescribed: Please do not vote to close with a custom reason that "it belongs on Code Review". Some ...
8
votes
1answer
125 views

What other “shortcuts” but [Answer] does Code Review support?

In this comment OP wanted to share some SQL and one of the tables was called [Answer] but it was turned into a link to the How to Answer page. I tried it myself and ...
11
votes
2answers
149 views

Respond to an answer?

I've asked a question and someone answered it. But inside the answer, there are some questionings, like "I'm not sure I understand your code here...". Should I attempt to answer the questions of the ...
13
votes
2answers
202 views

Should votes to close a question as containing broken code be paired with a comment?

First off; I'm not looking to enforce this via systems; just as a community guideline. As an example to showcase my issue, here's a review that may pop up in the review queue for Close Votes. It's ...
3
votes
1answer
33 views

Why didn't this format correctly in a comment?

I commented on a person's question with the following markup: ...you have a single-bit mask that increments using `i <<= 1`, e.g. `for(i = 1; i < 1 << 16; i <<= 1)`... but ...
5
votes
3answers
122 views

Can comment be off-topic because of an hypothetical question?

I stumbled in a comment discussion on a question here : Customer search using LINQ followed by conditional filtering of results The first comment from the OP : Awesome, thank you for the Order By ...
13
votes
1answer
189 views

Is the automatic low quality answer comment unfit for Code Review?

This is the comment made on my behalf when I recommended deletion on an answer in the VLQ queue: This does not provide an answer to the question. To critique or request clarification from an author,...
6
votes
1answer
76 views

Why was my comments removed from related answer?

I recently did a code review on Tic Tac T-OO: Design and Implementation, and as such took a little interest in the other answers related to this question. Currently there are only two, and I got into ...
2
votes
2answers
47 views

User mention not showing up in comment

I'm trying to reply to this comment by mentioning the name of the user who gave the answer (using @user syntax). The problem is, that the user name is not appearing at all, at the beginning of my ...
8
votes
1answer
79 views

Is it bad to reference the best titles?

Recently, on new Code Review questions, I've been seeing this: Welcome to Code Review! As we all want to make our code more efficient or improve it in one way or another, try to write a title ...
3
votes
3answers
80 views

Is it appropriate to reveal solutions to public challenges in comments and answers?

I've seen a question that asks for a review of a piece of code that solves a public coding challenge (linked in the question). The first comment just discloses the optimal solution without actually ...
38
votes
17answers
4k views

Frequently Posted Comments

On Code Review we often encounter questions with the same kind of problem over and over again. Some of us are using the auto comments script which allows you to maintain a list of comments to post. ...
6
votes
2answers
86 views

Are comments removed on a regular basis as some kind of tidy-up?

On my answer to a question the OP asked for some code clarification which I added and then told him that I did so. Both comments have disappeared. It's the first time I noticed something like that. ...
6
votes
1answer
54 views

Additional information expressed through comments

Today, I was browsing CR and saw a comment on this answer suggesting that "" in C# is always better than string.Empty. I ...
13
votes
6answers
179 views

How can I make this comment asking for better titles more polite and friendly?

My question is very much related to Stop mentioning major concerns in title. Generic "My Code Smells. How do I refactor." titles are not very good for the site. I edit titles when I have a clear ...
8
votes
1answer
79 views

Questions containing false statements: Edit or Answer?

https://codereview.stackexchange.com/review/suggested-edits/24111 The asker posts a false statement: "This code runs in time complexity X." Should they be corrected in an answer or in an edit? ... or ...
1
vote
0answers
24 views

Comments to line number [duplicate]

If you have ever used code review tools like Crucible, Basecamp or Github - you know about their essential feature: being able to comment a specific line of code. With the Stack Overflow engine, I ...
5
votes
1answer
81 views

Automatically add a comment when you vote to close a question

Currently, automatic comments are always added when you vote to close as a duplicate. However, it would be nice if, for example, closing as off-topic asking a question or a review on not yet written ...
15
votes
6answers
235 views

Post Mortems - Episode I: A new hope

Prologue: A long long time ago (Apr. 17th, 16:00), in a galaxy far away, there was a stranger, seeking enlightenment. He came across a miraculous star named CodeReview in the deepest ...
12
votes
1answer
103 views

“Obsolete” comment flags

I've recently started using the "Obsolete" comment flag for comments that add no value to a post, but that are intended at notifying a user of something - like a "Thank you!" comment, for example. My ...
2
votes
1answer
81 views

I think comments should allow more characters on Code Review

I just got a great code review and I wanted to reply to it because I had questions. Of course the character limit was exceeded very fast. Code reviews are somewhat different in it's nature than the ...