Questions tagged [scope]

Use this tag when examining what is on-topic or off-topic, and why.

34
votes
5answers
5k views

My question was closed as being off-topic. What are my options?

I can understand that sometimes questions are closed as being too opinionated, too broad, or unclear, but my question was closed as being off-topic. I have read the On-Topic Help Center page for Code ...
29
votes
4answers
1k views

Why is hypothetical example code off-topic for Code Review?

As stated in the Help Center, one of the criteria for a question to be on topic is: Is it actual code from a project rather than pseudo-code or example code? What is the rationale for that ...
24
votes
4answers
461 views

Reviewing “design”

It has been said in various comments that on Code Review we review code and not design. I find this statement not very clear though. Obviously, if someone has an UML and not any written code, that's ...
188
votes
1answer
8k views

A guide to Code Review for Stack Overflow users

You're on Stack Overflow and you've found a question that seems to be about improving code. You are trying to be helpful, and you put a comment in the question: You should try asking on CodeReview....
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 ...
35
votes
4answers
598 views

Code Review vs. Help me solve my problem

A question that asks: I don't know how to best solve problem X, can you suggest a way? ... is clearly off-topic on Code Review. A question that asks: I have solved problem X, and this is how I ...
11
votes
4answers
164 views

Off-topic questions that are still reviewable

There are some questions that are technically off-topic but still feel that the code really needs our help. For example: https://codereview.stackexchange.com/questions/49347/tic-tac-toe-artificial-...
19
votes
4answers
356 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 ...
26
votes
6answers
820 views

How should we revise the standard off-topic reasons, if we can have up to five?

Note: For chat-like discussions of this subject, let's use this Discuss Close Reasons chat room Code Review currently has three standard off-topic reasons: Questions containing broken code or asking ...
25
votes
5answers
313 views

Do one-liners and other narrowed-down code qualify for a code review?

Every once in a blue moon, a question gets posted (often as a new user's first post) where the OP is asking a quite specific question about very minimalistic code, for example: ...
16
votes
3answers
190 views

Can we review spreadsheet formulas?

So, this question has been bothering me for a long time now. It is asking for a review of one line of "code" which is really a spreadsheet formula. Actually, it's not even asking for a review in my ...
11
votes
1answer
358 views

Is pseudo-code alright when asking about performance?

The FAQ states: Is it actual code from a project rather then pseudo-code or example code? But oftentimes pseudo-code is a lot more straight forward and easy to evaluate. It also applies to a ...
21
votes
5answers
949 views

Is [lolcode] reviewable?

Down with FizzBuzz created a lolcode tag. Some (cough) brainfuck (cough) are even further down the esoteric alley. Given our current site rules, I'd tend to agree. I don't think allowing lolcode ...
15
votes
2answers
603 views

“Time Limit Exceeded” and programming challenges

Lately I've seen many questions pertaining to Project Euler and similar that have problems with time limit exceeded. And this prompted the question, are these questions on topic? I mean, the code, ...
12
votes
4answers
2k views

What exactly does it mean for code to be “Working Code”?

Why is it that Code Review's definition of "working code" is so misaligned with so many people's expectations? @rolfl Well, we've had a lot of discussion about broken code on meta, but we don't seem ...
12
votes
5answers
212 views

Questions about interfaces, protocols, and APIs

Are questions about interfaces/protocols and APIs on-topic for Code Review? And when I say "protocol", I mean this in the Objective-C/Swift (and potentially other languages) version of the word, ...
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?
15
votes
2answers
221 views

Are we allowed to ask questions about just regular expressions?

Are we allowed to ask questions just about regular expressions?
7
votes
7answers
280 views

“Code not yet written” clarification: Are unimplemented interfaces on- or off-topic?

I would like to know what exactly it means. The reason for asking is my question which was recently put on hold: https://codereview.stackexchange.com/questions/60108/async-task-queue-design Can ...
2
votes
3answers
195 views

Preventing the ability to re-open off-topic questions by explaining how it's broken in an answer

Earlier this year I posted an answer to a question, saying that it's broken in a way that OP don't think, explaining it a bit, and then wrote a comment saying it's off-topic, and voted to close. ...
22
votes
8answers
591 views

How much idle chatter do we tolerate in The 2nd Monitor?

Related but not a duplicate: How far off-topic can we get in 'the 2nd monitor'? Today was a complicated day in the history of The 2nd Monitor. On one side there appears to be consensus something ...
19
votes
5answers
333 views

What IS a Code Review?

So, this site is called "Code Review"... What we do here is... ask for and write Code Reviews, naturally. However, I feel that there are a whole bunch of different thoughts floating around about ...
14
votes
2answers
226 views

Code that handles n% of test cases but not all

I've started noticing recently questions like this one (66%, not well received) or that one (50%, well received) where the author states something like this: I am trying to solve this problem on ...
16
votes
5answers
375 views

Can we revisit “Did I write that code myself”?

Did I write that code myself? This is one of the six questions the help center recommends users should be able to answer "Yes" to before posting their question. I'm not sure I quite understand ...
15
votes
2answers
567 views

Should specific questions about example code be on-topic?

I've noticed some questions, like the following, come up: https://codereview.stackexchange.com/questions/30092/map-then-iterate-why Inheritance and forcing methods to be called inside another method ...
13
votes
1answer
186 views

What does it take to make code your own?

This question is meant as a general question, but it is also specifically about this specific question: https://codereview.stackexchange.com/questions/39228/original-factorial-method-in-java/ It is ...
11
votes
3answers
176 views

Could incomplete or not-quite-working code be suitable for review?

I've noticed that sometimes I end up reviewing code despite the question's violation of our policy that it must contain working code. I bring this issue up because it is related to Changing wording ...
11
votes
2answers
176 views

List of StackOverflow questions to migrate

Ivo Wetzel has listed in detail a great set of prerequisites for migrating SO questions over here. Migration is a win-win situation, so we should invest some energy in bringing good on-topic questions ...
18
votes
3answers
183 views

Reviewing AI based on how it performs

On Code Golf is is common to see a king-of-the-hill question where you have to implement an AI based on the rules given in the question. So then I got to thinking - "If I developed an AI for one of ...
16
votes
5answers
236 views

Are questions with undiscovered bugs allowed?

Re: Connect 4 in C++ Situation: The OP, a beginner posted code with several bugs in it. They said they thought the code worked okay, because they hadn't discovered the bugs during their testing, ...
14
votes
3answers
147 views

“How secure…” questions - Code Review vs. Information Security SE

Recently I have seen a whole lot of questions in the form of "How secure is this hashing", "How secure is my keygen?", "How secure is my form?". We do have a quite popular security tag, with 159 ...
12
votes
2answers
143 views

Are questions about public interface (API) on topic?

I'm writing some library code (ex. jQuery plugins, Django apps) that is meant to be used by other people as building blocks for larger applications. Often I don't see much need for others peer-...
15
votes
3answers
258 views

The gray areas of Code Review: Hypothetical / Example code

This is related to Why is hypothetical example code off-topic for Code Review? Which is related to On-Topic question #3: Is it actual code from a project rather than pseudo-code or example code? ...
15
votes
3answers
176 views

Are code snippets with known memory leaks broken?

As part of our check-list for questions on CodeReview, we require that code is working to the best of the askers knowledge. Does code with a known memory leak qualify is broken per this rule? On the ...
14
votes
1answer
119 views

Code-correctness in the FAQ

As pointed by the poster of this question: https://codereview.stackexchange.com/questions/8609/dynamic-programming-algorithm-code-review, our FAQ states the following is on-topic: Code correctness ...
12
votes
2answers
110 views

Are requests for review of language design on topic?

This is the question that prompts this meta: Is my language easy/hard enough? How badly is it designed?. Paraphrased: I am thinking about making a language somewhat based on macros, and looking ...
9
votes
3answers
150 views

Does the plain-English part of a question even matter?

Does the plain-English part of a question even matter? I'm not recommending that the plain-English part doesn't help make questions better, but given the approach we've taken towards answers on ...
14
votes
2answers
222 views

Are Scratch questions okay on Code Review?

I want to post a scratch project on codereview for people to give feedback at, but im worried that it would get downvoted and flagged for being off topic. So are scratch projects allowed? And if not, ...
12
votes
4answers
147 views

Can working code be: off-topic -> not-working?

This question here: Shortest possible way of printing a specific board Summary: The code requirement is to print out a grid of text. The code does in fact print the grid The way it does that, is ...
12
votes
2answers
249 views

I think my code might have a bug, but I am not sure if it actually does, is it broken code?

I have some C++ code that I am executing from C# dotnet core 2. In my C++, I am using a third party library. My code builds and runs, but after being executed a few million times (2.5 mil last time) I ...
10
votes
3answers
332 views

Are reviews of code in Stack Overflow answers in scope?

Say you spent some time on a code answer to a SO question (example). Is it OK to forward the same code to Code Review or should any comments be left to happen in SO? If it's OK to ask for a review, ...
10
votes
1answer
89 views

Non-OP edits to change the original question to make it on-topic

I feel that this topic is ambiguous at the current time, and I would like some clarification. When I see a question that is obviously, or at least appears to be off-topic based on how it is worded, my ...
10
votes
3answers
207 views

Are “What does this code do?” questions on-topic here?

Example (now deleted): https://stackoverflow.com/questions/4917334/what-does-the-below-codes-do
8
votes
5answers
143 views

Make the help center more explicit about what CR is NOT

There has been discussion recently, about how lots of Stack Overflow users carelessly refer OP over here (CR) whenever the question roughly looks like a wall of code and OP is asking for help nailing ...
4
votes
1answer
97 views

Move to SO or Programers

I can find it with a quick search; But: But there must already be a question here on meta about moving off-topic posts to SO or Programmers.stackexchange.com ore automatic. Like: Off-Topic move to ...
18
votes
1answer
163 views

What's on and off topic in The 2nd Monitor chat room?

Exactly what is considered strictly off-topic there? Anyone can assume the obvious: NSFW (Not Safe for Work) are off topic, and should be flagged. Anything else?
13
votes
3answers
268 views

Harmless duplicate or are we being taken advantage of?

This question caught my eye because it had accumulated close votes as being a duplicate of another question, which is very rare on CR. The target was a question I reviewed last year by the same user. ...
14
votes
4answers
207 views

Code requiring a third-party pre-processor to make it work

In this Wolves, Goats and Cabbages in Java question (here is a link to the pre-edited version), Java code is presented to solve the problem. The code requires pre-processing by a third-party tool in ...
12
votes
1answer
282 views

“Enough reviewable code”

Passing Row Index of TableViewCell (custom) to another view controller The following claim is made in the asker's question: Pseudo Code: (pasted only necessary code) Let's start with the ...
11
votes
4answers
192 views

Can you show me how to apply a specific strategy to my working code to improve it

As brought up here, I'm not sure when the last time we (as a site) discussed how to determine if questions are on- or off- topic. A lot of questions currently fails the "any or all facets of the ...