Questions tagged [site-policy]

Site-Policy is the way the main site is run and managed - processes, procedures, and routines that should be followed. Use this tag when you believe site-policy has not been applied correctly to a main-site question, or when you believe existing site policies should be modified, or new policies added.

Filter by
Sorted by
Tagged with
10 votes
1 answer
153 views

How to best motivate posters to migrate their question to another site?

It often happens that people post a question that is not suitable for the site they posted it on, but should rather go to another Stack Exchange site. Sometimes this is made easy using some of the ...
  • 35.7k
8 votes
2 answers
148 views

Are responses to specific interview questions on-topic?

Tangentially related to the unanswered Can I legally post my solution to a company's coding test? I realize that generic interview prep questions are on-topic - that's why we have the interview-...
  • 53.6k
2 votes
1 answer
107 views

Why delete a lone upvoted answer on a CR question?

I see this post has one deleted answer that has some good advice and received three upvotes. Why was it deleted? My presumption is the user was aiming to earn the disciplined badge but perhaps there ...
-3 votes
1 answer
62 views

I do not understand the feedback about my title

I don't understand how my question does not fit the site's standards. Can I please get some guidance? Is this an appropriate use of async/await combined with Task continuation? The current question ...
-2 votes
1 answer
46 views

Encouraging the community to edit the question to maintain a list of external resources

I have requested and successfully received a nice review about a piece of code which relies on a pool of third part services. Since the code was nicely welcomed with some upvotes I thought that it ...
  • 877
-1 votes
2 answers
128 views

Negative engagement, ganging up, question closing, downvoting

I am relatively new to Code Review, so I don't know if this Stack Exchange site suffers particularly from counter-productive interaction by negatively critical senior users but I'm certainly seeing it ...
9 votes
1 answer
113 views

Should we improve the code to be reviewed in an edit?

I noticed this suggest edit: This suggested edit does two things: Replace using namespace std;, which is considered bad practice in C++, with ...
  • 9,239
2 votes
1 answer
117 views

Dealing with defamation and site-policy

Yesterday I got two separate accounts of defamation against me. The first one Find the rotation point of a sorted array that is "rotated" accused me of using multiple accounts to down-vote their ...
  • 13.8k
9 votes
1 answer
184 views

Alternate solution - what counts as an insightful observation?

One of our latest HNQ's has drawn the attention of alternate solutions. Soon after the question was posted I answered it with an alternate solution, and got quite a few upvotes. My first version ...
  • 41.7k
3 votes
2 answers
94 views

Answer made on suggested comment, not on initial question

I came across the following answer: dynamically-add-remove-fields-on-input and don't know the site policy for this specific scenario. Scenario OP asks for the following: The following code allows ...
  • 13.8k
6 votes
1 answer
73 views

Review that targets code that makes the question off-topic, then question is updated

I was looking around for zombies and fell on this question : Importing text into PANDAS and counting certain words The review is basically pointing runtime errors in the code that would've made the ...
  • 12.3k
12 votes
2 answers
169 views

Reviewing non-working code when author thinks it's working?

I came across a pretty simple question where the author explicitly states: The function returns the correct output, and all known edge cases have been accounted for. I took this at face value and ...
14 votes
1 answer
243 views

Policy regarding "flooding" Code Review with questions

There seem to be a few users which "flood" Code Review with questions recently (2 to 4 questions in rapid succession). They often present relatively small pieces of code, allegedly from homework, ...
  • 7,184
9 votes
1 answer
105 views

Warn if question is tagged with [python-3.x] but not [python]

Given that 16/50 of the latest python-3.x questions aren't posted with the python tag,[1] and site policy is to tag with both.[2] Can we move the burden onto the poster to tag properly, rather than ...
  • 41.7k
14 votes
3 answers
174 views

Hot Network Questions Policy

As of recently, moderators have the ability to remove a CR question from the HNQ list. There are times when the hotness formula selects a question that a site would rather not have featured. Up ...
2 votes
1 answer
68 views

I found a (trivial) solution to my problem after submitting it

About Counting primes in a range whose digits are all prime. My code had a bug, the bug was an edge case that only manifested in literally one of the test cases, (I identified it by completing the ...
  • 1,796
5 votes
2 answers
128 views

Should we allow answer invalidation for otherwise off-topic questions? [duplicate]

We recently had a question with un-compilable code. The question was answered and the answerer pointed out the broken code. The user has since edited the question to fix the code. It was rolled-back. ...
  • 2,324
11 votes
2 answers
233 views

Is it allowed to edit code if there is no answer?

If I have kept working on the code, and there are no answers (say one week after the original post), am I allowed to edit the code to reflect the changes I have made to it? I believe this question is ...
  • 243
20 votes
3 answers
362 views

Should we censor rude language in comments/strings of posted code?

What I’m referring to mostly started with this edit where strong language that possibly originated as a joke from the OP was flagged as rude and removed from the question entirely. The code in the ...
7 votes
1 answer
149 views

Can I include problem statements when posting exercise solutions to Code Review?

I have several books of programming exercises that I am working through. I would like to post some of my solutions to Code Review. Can I include problem statements along with my solutions without ...
  • 381
2 votes
1 answer
72 views

How should I fix a problem in my code (which is not addressed in existing answers)?

Some time ago I posted a series of two questions: On Knuth's "Algorithm L" to generate permutations in lexicographic order Sequence-based enumeration of permutations in lexicographic ...
  • 22.6k
21 votes
6 answers
460 views

Is there a limit to the number of answers a user can post to one single question?

Example situation1 We have a user that finds a question and posts an answer for each and every change they would make - commonly being a single low-hanging fruit point, but not limited to it. It ...
  • 41.7k
18 votes
2 answers
856 views

Why are alternative solutions not welcome?

I skipped reviewing this answer because I am not sure what to do with it after I read the comment posted below it: Welcome to Code Review! You have presented an alternative solution, but haven't ...
0 votes
0 answers
27 views

Ok to repost code after incorporating suggestions? [duplicate]

If I've had a piece of code reviewed here, what's the consensus about posting the update for another review? Also, assuming it's ok, should it be an edit to the existing question, or a new post? (...
  • 153
23 votes
2 answers
581 views

How should we deal with askers fixing off-topic questions when an answer has been posted?

I did a quick search to see if this has been asked, but it didn't seem to be. The intent behind this question is from how this question was handled, but is not limited to it. The situation is an ...
  • 41.7k
7 votes
0 answers
74 views

Tags "Types" and their Usage

This is a question spawned from @Mat's Mug's comment on a question I had about a tag removal. It seems that there is some consensus among the more senior users here about the way some tags should be ...
  • 330
9 votes
2 answers
180 views

(Optionally) add Python sub tags to questions

The lack of version tags on some Python questions leads to reviewers having to 'pre-scan' the code to find out if it's Python2.7, Python3, both or neither. This seems strange as, I'd have thought that ...
  • 41.7k
14 votes
2 answers
230 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 ...
  • 22.2k
12 votes
3 answers
248 views

Removing leading white space in question code blocks

I've made a couple of suggested edits to this question. The first one was rejected because it deviated from he original intent / it edited code. When I looked at the suggested edit, it did look like ...
  • 11.5k
1 vote
1 answer
53 views

Do I have to include the dependency codes while posting my code?

Do I need to post dependency codes which are in the actual code I need to be reviewed?
18 votes
4 answers
442 views

Punny/Playful Titles Policy

Related: How can we avoid redundant titles? When you ask a question on the main site, the watermarked instructions say: State the task that your code accomplishes. Make your title distinctive. This ...
34 votes
5 answers
532 views

Migration paths to other sites

If you can cast close votes, you now have a new privilege! Up until recently, only moderators could migrate an off-topic question to Stack Overflow or Programmers.SE - if you haven't noticed yet, the ...
18 votes
3 answers
253 views

What are our answer editing guidelines?

On this site, we have a well-known policy on editing code in questions: Don't do it. After all, that code is up for review, in all its glorious ugliness and buginess. But clearly, such reasoning ...
  • 12.4k
6 votes
1 answer
123 views

Commenting on faulty code

In this question, https://codereview.stackexchange.com/q/107700/78136, the OP has not gotten the code to compile, and is on its way to be closed. This I understand, and are not debating. My question,...
  • 11.5k
33 votes
6 answers
581 views

Is code ever clean enough? - Can there be too many follow-up questions?

Some posts can at times have several follow-up questions, sometimes a couple of follow-up questions on the same day. All this brings us to the question of Can there be too many follow-up questions? ...
14 votes
1 answer
95 views

Do we want site-specific editing guidance?

With our newly reached "graduated" (I really shouldn't put that in quotes) status, I expect a significant influx of new users, be it through migration or otherwise being drawn in by the thrill of a ...
  • 25.1k
6 votes
4 answers
88 views

Would Code Review be a good site to post formatting questions?

I've been thinking recently that Code Review might encapsulate Code Presentation style, such as: Helpful comments and documentation. Indentation/bracketing style. Overall code structure. Of course, ...
  • 265
9 votes
1 answer
123 views

Major bugs caught in questions

I wrote a question, but forgot to thoroughly re-test my code after I made a modification and before I posted the question. I was notified of a major bug by mjolka (thank you!) in chat, such a major ...
's user avatar
2 votes
1 answer
119 views

Cleaning up the original code in the question

Most of the reviewers/answerers here should be familiar enough with Ctrl+K and Home,Shift+▼,Del keystroke combinations that an edit to provide some readability without losing the original content of ...
's user avatar
13 votes
3 answers
202 views

Process to follow when un-answered questions have a follow-on

This question was asked a couple of weeks ago, and has not been answered in that time. It has languised: https://codereview.stackexchange.com/questions/79233/edmonds-karp-algorithm-for-maximum-flow-in-...
  • 96.8k
9 votes
1 answer
88 views

Can I post both my code and link to the external repository?

I have read the guidelines and FAQ, and understand that code up for review should be posted on this site. I also understand that modifying the code after it is posted goes against the rules as well as ...
5 votes
4 answers
128 views

Selfie code-only answers as an offsite link

This question Gees - GPL Euler equation solver and its revisions were recently affected by this policy we have about how to add selfie-answers to your question Specifically (I have bolded the ...
  • 96.8k
1 vote
3 answers
163 views

Should we reconsider the code ownership policy?

This question of mine (10k required) was put on hold with the explanation This question does not appear to be a code review request within the scope defined in the help center. Please see the ...
  • 421
1 vote
0 answers
67 views

Is it advisable to share the link of the entire project on Code Review? [duplicate]

I would like someone to review a small PHP project of mine - the entire source code of which has been uploaded on Github. Is it advisable to share the link of the entire project here on Code Review?
18 votes
3 answers
207 views

I've observed many toy/homework questions

It appears that many review requests are for toy or homework examples (e.g. FizzBuzz). Is this observation correct or am I mistaken? If observed correctly, I have the following questions: Is it good ...
7 votes
2 answers
173 views

Strict requirements around code examples in questions leading to counterproductive results?

Here's a post that exemplifies my question: Extension method to enumerate a hierarchical object Looking at the history, all I can think of is "poor OP." Several items of note: In an attempt to ...
18 votes
1 answer
149 views

Old messy questions

Considering the somewhat-still-new guidelines we have for editing own question to include revised code, how should we handle old questions which violates this guideline and are, more or less, a mess? ...
-2 votes
2 answers
112 views

Asking for a suggestion: partially obscure the source code

When I have a short piece of code which doesn't contain any sensitive data and I strongly think that it could be published here I still often avoid unless it's a project of mine. (I'm not worried of ...
  • 503
7 votes
2 answers
123 views

Attribution and Copyright of Problems

How should it be handled if a user asks a question where the original problem is from some website and under copyright? For example this question quotes a problem from a website which says at the ...
  • 24.9k
9 votes
1 answer
57 views

Old Meta questions about policies we have since changed

Should we downvote answers to old questions since they no longer support current policy, so that new users searching for answers don't find these posts and get led astray? Example(s): https://...
  • 28.5k