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
11 votes
2 answers
248 views

What Site Policy should we have for code written by ChatGPT?

As all of us I'm sure are aware, ChatGPT has induced a plethora of discussion network-wide. Specifically with this site, we could very well see an influx of questions about reviewing ChatGPT generated ...
0 votes
1 answer
65 views

How to provide large code for code review?

What is the way to provide large code for code review at the codereview.stackexchange.com? I do my best cutting the code into pieces which could be reviewed separately as components. I started from ...
8 votes
2 answers
215 views

Disable Anonymous Contributions

Note: Due to my position as a moderator I can't comment or point to specifics, which greatly obfuscates the validity of my question. The moderator team has been brought aware of certain irregularities ...
-1 votes
1 answer
119 views

Can a user post code in an answer even if they don't fully understand how it works?

In this answer the OP of the question presented an alternative solution from github. The github repository shows that it uses the MIT license: ... Permission is hereby granted, free of charge, to any ...
42 votes
2 answers
2k 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
3 answers
136 views

How should I include resources (images, videos, audio, etc) in questions?

I know my code doesn't have to be complete. However, in my specific case I have a project where I'd like to focus on performance improvements. Some optimizations are obvious, where others require ...
2 votes
1 answer
163 views

TypeScript and JavaScript tags

We typically treat c and c++ as mutually exclusive. We don't tag the same question with both c and c++. I feel we should do the same for TypeScript and JavaScript. TypeScript needs to run through a ...
8 votes
2 answers
267 views

Is it okay to edit part(s) of code not yet reviewed?

In this question of mine, the one answerer so far has only reviewed a part of my code. However, I've made changes on other parts of my code, but I don't want to somehow invalidate that answer. Would ...
2 votes
0 answers
129 views

Updating a question before it's answered? [duplicate]

My most recent question hasn't received any answers in the 24 hours it's been up, and I've made a couple (IMO small but not negligible) changes since asking it that I would like feedback on. Can I ...
18 votes
2 answers
925 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 ...
19 votes
3 answers
259 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 ...
10 votes
1 answer
167 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 ...
8 votes
2 answers
153 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-...
46 votes
2 answers
2k 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?
2 votes
1 answer
123 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 ...
14 votes
2 answers
165 views

Should we retain unanswered questions from deleted users?

Background We've had a user who asked many questions, mainly follow-up questions, some of which lacked sufficient detail and a review request. Due to some issues stemming from issues of the user and ...
-3 votes
1 answer
66 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 ...
16 votes
1 answer
397 views

How long can code be?

First of all before, I hate the typical "codez plz" homework question. I hope this has nothing to do with that, but it is actually a class assignment. I won't post my code until it is completely ...
21 votes
3 answers
435 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 ...
-2 votes
1 answer
47 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 ...
24 votes
2 answers
595 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 ...
-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
117 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 ...
10 votes
1 answer
198 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 ...
2 votes
1 answer
119 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 ...
3 votes
2 answers
96 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 ...
6 votes
1 answer
76 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 votes
3 answers
251 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 ...
12 votes
2 answers
170 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 ...
20 votes
3 answers
373 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 ...
9 votes
1 answer
109 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 ...
15 votes
1 answer
255 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, ...
37 votes
2 answers
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 ...
9 votes
2 answers
181 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 ...
14 votes
3 answers
177 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 ...
11 votes
3 answers
276 views

Are database design reviews in scope?

See this question: Can you peer review my database design for a school system?
2 votes
1 answer
71 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
4 answers
453 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 ...
5 votes
2 answers
134 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. ...
13 votes
2 answers
256 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 ...
7 votes
1 answer
152 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 ...
31 votes
3 answers
901 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 ...
40 votes
5 answers
922 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
1 answer
250 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
2 answers
124 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
1 answer
74 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 ...
137 votes
2 answers
18k 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 ...
20 votes
6 answers
475 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
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? (...
4 votes
1 answer
213 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 ...