Skip to main content

Questions tagged [scope]

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

Filter by
Sorted by
Tagged with
43 votes
5 answers
7k 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 ...
30 votes
4 answers
2k 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 hypothetical code? Details matter! In order to give ...
26 votes
4 answers
586 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 ...
Simon Forsberg's user avatar
219 votes
1 answer
13k 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
4 answers
728 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 ...
Simon Forsberg's user avatar
37 votes
4 answers
627 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 ...
25 votes
6 answers
859 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 ...
13 votes
4 answers
197 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-...
Simon Forsberg's user avatar
18 votes
4 answers
379 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 ...
Jamal's user avatar
  • 34.9k
16 votes
2 answers
275 views

Are we allowed to ask questions about just regular expressions?

Are we allowed to ask questions just about regular expressions?
Ethan Bierlein's user avatar
16 votes
3 answers
212 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 ...
RubberDuck's user avatar
  • 30.8k
11 votes
1 answer
392 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 ...
Tom Prats's user avatar
  • 125
25 votes
5 answers
357 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: ...
Mathieu Guindon's user avatar
16 votes
2 answers
326 views

Do configuration files constitute reviewable code?

A question asks to have a Samba configuration file reviewed. Do we consider a configuration file to be code? It's certainly not a Turing-complete language. Is Turing completeness a defining criterion?...
200_success's user avatar
25 votes
5 answers
1k 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 ...
Mathieu Guindon's user avatar
12 votes
5 answers
248 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, ...
nhgrif's user avatar
  • 25.3k
4 votes
3 answers
250 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. ...
Peilonrayz's user avatar
  • 43.4k
19 votes
2 answers
728 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, ...
Emily L.'s user avatar
  • 16.6k
14 votes
2 answers
370 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 ...
Phrancis's user avatar
  • 20.4k
14 votes
2 answers
168 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-...
mgibsonbr's user avatar
  • 291
13 votes
1 answer
204 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 ...
Simon Forsberg's user avatar
13 votes
4 answers
4k 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 ...
RubberDuck's user avatar
  • 30.8k
12 votes
2 answers
159 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 ...
RubberDuck's user avatar
  • 30.8k
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?
BenV's user avatar
  • 897
7 votes
7 answers
297 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 ...
Nikita B's user avatar
  • 13k
22 votes
8 answers
642 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 ...
Mast's user avatar
  • 13.4k
19 votes
5 answers
427 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 ...
Simon Forsberg's user avatar
19 votes
3 answers
227 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 ...
syb0rg's user avatar
  • 21.8k
17 votes
5 answers
343 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, ...
Snowbody's user avatar
  • 8,442
16 votes
2 answers
255 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, ...
PyxlWuff's user avatar
  • 481
16 votes
5 answers
416 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 ...
nhgrif's user avatar
  • 25.3k
15 votes
2 answers
585 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 ...
Winston Ewert's user avatar
15 votes
3 answers
225 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 ...
nhgrif's user avatar
  • 25.3k
15 votes
1 answer
161 views

Are questions about LaTeX documents on-topic?

A few reasons to allow them: I recently found that there are best practices and document organization methods. That is, splitting the documents based on sections, tables and so forth and using input ...
Rahul Gopinath's user avatar
15 votes
3 answers
295 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? ...
Simon Forsberg's user avatar
14 votes
3 answers
164 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 ...
Simon Forsberg's user avatar
13 votes
3 answers
220 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 ...
200_success's user avatar
12 votes
4 answers
187 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 ...
rolfl's user avatar
  • 97.4k
10 votes
1 answer
176 views

Are questions about performance on-topic?

From: JSON API for some bank account I can see questions where somebody has designed code to be explicitly fast and needs another pair of eyeballs to validate the code. But are questions that ask ...
Martin York's user avatar
  • 95.2k
10 votes
2 answers
187 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 ...
TryPyPy's user avatar
  • 852
10 votes
3 answers
221 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
Robert Harvey's user avatar
8 votes
1 answer
136 views

Can I ask a question about overall architecture without much specific code?

I have code, but my question is about overall design patterns. Ideally, I would ask a question describing the design decisions made in my project but would have minimal actual code samples. Is this ...
cemulate's user avatar
  • 131
17 votes
2 answers
270 views

Nothing to review

This question claims to implement the Nothing language. I'm citing the language specification (emphasis mine): Note: if the output does not meet the expectation of a "hello world"-program, this ...
Mast's user avatar
  • 13.4k
15 votes
1 answer
189 views

Can I ask for review for something specific without posting too much context?

I'm working on an Angular2 application and I think one very small, specific function (list filtering) needs improvement and I would welcome reviews. Essentially I iterate more times than I think is ...
msanford's user avatar
  • 391
15 votes
4 answers
240 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 ...
rolfl's user avatar
  • 97.4k
15 votes
4 answers
116 views

Questions about documentation

Are questions about writing/improving documentation appropriate and on-topic for Code Review? And if so, should there be a documentation tag? Let's be clear--I'm not talking about questions seeking ...
nhgrif's user avatar
  • 25.3k
14 votes
6 answers
269 views

Are vectorization requests on-topic?

Currently, there are 62 questions tagged vectorization, nearly all of which say "The performance sucks; how can I vectorize this code?". Recently, How to efficiently apply correction to a time series ...
200_success's user avatar
14 votes
1 answer
126 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 ...
Winston Ewert's user avatar
12 votes
2 answers
190 views

SQL Query Review

Assuming a SQL query is well-formed, works correctly, and meets the other general criteria for appropriate reviewable code here, are SQL query reviews on topic? If so, is there a threshold of ...
Jason C's user avatar
  • 379
12 votes
8 answers
391 views

Reviewing generated code

Is reviewing generated code on topic ? Scenarios: Someone wrote the generator and it is included or linked and provided with generated code. Someone wrote the generator and only included generated ...
JaDogg's user avatar
  • 4,531