Stack Exchange Network

Stack Exchange network consists of 175 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 [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.

8
votes
1answer
73 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 ...
13
votes
1answer
212 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, ...
34
votes
2answers
1k views

Why is only my own written code on-topic?

I tend to disagree with point #2 on the Help Center: Did I write that code? I believe any code, written by one self or anyone else should be eligible for code review. Many a times, you're ...
18
votes
2answers
431 views

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

I done 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 ...
9
votes
2answers
170 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 ...
13
votes
3answers
154 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 ...
10
votes
3answers
229 views

Are database design reviews in scope?

See this question: Can you peer review my database design for a school system?
2
votes
1answer
56 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 ...
19
votes
4answers
389 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 ...
4
votes
2answers
99 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. ...
10
votes
2answers
194 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 ...
19
votes
3answers
254 views

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

What I’m refering 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
1answer
136 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 ...
29
votes
3answers
730 views

Should you edit someone else's code in a question?

I have seen several (suggested) reviews lately, where someone edits the code in the original poster's question. Should such edits be allowed? The edits in question are mostly minor. Some add spaces ...
35
votes
5answers
756 views

What is the appropriate length of a Code Review question?

While Stack Overflow questions often contain segments of pseudocode or purposely abbreviated code in order to make the question more palatable to other readers, for something like a Code Review, the ...
8
votes
1answer
239 views

Where do high-level architecture and design questions go?

The FAQ states this: your question is not about … Higher-level architecture and design of software systems So, where should a high-level design question go?
7
votes
2answers
113 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 ...
2
votes
1answer
57 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 ...
125
votes
3answers
15k views

For an iterative review, is it okay to edit my own question to include revised code?

Is it okay to edit the question to include the improved code? I would like to do so for the following reasons: To share the improved code with others To show the answering persons that I take their ...
21
votes
6answers
417 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 ...
0
votes
0answers
25 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? (...
3
votes
1answer
188 views

Why is pseudocode not allowed?

Re: C# code to derive tangential points between two circles to create a trapezoid I made the following comment, but since I will probably delete the OP (if I can), I'll post it here: "With all due ...
16
votes
1answer
277 views

Put into FAQ: “Will submitted code be licensed under the copyleft CC-BY-SA?”

Put into FAQ: Will submitted code be licensed under the copyleft Creative Commons Attribution-ShareAlike (CC-BY-SA) license? I really want to know this! Since the CC-BY-SA is a copyleft, viral ...
7
votes
0answers
69 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 ...
13
votes
2answers
206 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 ...
8
votes
2answers
197 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 ...
38
votes
2answers
1k views

Can I put my code on a third party site and link to the site in my question?

Is it OK if I write a question and include a link to GitHub/Pastebin/other similar site instead of putting the code here on Code Review?
39
votes
1answer
1k views

How to post a follow-up question?

Sometimes I stumble upon follow-up questions, where code is being posted again after having gone through a review (or two). Examples of possible sets of follow up questions: Find missing numbers - ...
7
votes
2answers
162 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 ...
1
vote
1answer
36 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?
16
votes
4answers
532 views

Questions should include a description of what the code does

Related: What criteria do you use to upvote a question? What makes a good question? I feel that it is currently too easy to copy some code that you have written and put it up for review here on Code ...
2
votes
3answers
145 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 ...
33
votes
5answers
513 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 ...
15
votes
1answer
133 views

Handling Asker not learning from previous reviews

Recently, a certain user has asked three times for code reviews in quick succession, for different parts of a project he is doing. This in itself is perfectly fine. However, he does not seem to have ...
17
votes
3answers
193 views

What are our answer editing guidelines?

On this site, we have a well-known policy on editing code in questions: Don't. After all, that code is up for review, in all its glorious ugliness and buginess. But clearly, such reasoning cannot ...
6
votes
1answer
117 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,...
33
votes
6answers
482 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? ...
20
votes
3answers
355 views

Is it okay to add someone else's linked code to the question?

Some questions link to the code they want reviewed, which is against site policy. Should one edit the code into the question in these cases? The problem I see is that all content on Stack Exchange ...
14
votes
1answer
86 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 ...
6
votes
4answers
78 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, ...
8
votes
1answer
112 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 ...
-2
votes
2answers
102 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 ...
2
votes
1answer
102 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 ...
19
votes
4answers
355 views

Should comparisons of code snippets be closed as “not seeking a code review”?

I've been seeing some "A vs. B" questions for a while, and I'm not sure if they're considered on-topic for this site. Many of these questions are not asking for a review, but which code snippet is ...
14
votes
3answers
187 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-...
9
votes
1answer
76 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
4answers
114 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 ...
1
vote
0answers
54 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
3answers
194 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 ...
18
votes
1answer
135 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? ...