Questions tagged [scope]

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

11
votes
2answers
205 views

Are encrypted answers acceptable?

In these sorts of problems you can't take the simple approach, you've got to come up with a clever way to avoid actually simulating the eating of the candy bars. Some hints (in rot13), for ...
6
votes
0answers
59 views

Are questions that ask *not* to offer readability/style/structure advice, on topic? [duplicate]

The question in question: A platform-independent implementation of "which" in Ruby The OP has rather specifically asked that people not talk about how to improve the readability of the code ...
13
votes
2answers
162 views

Esoteric vs Golfed Code

I'm only talking about reviewing code not further golfing it. How do we differentiate esoteric code and golfed code ? Since LOLCODE is allowed does that make all esoteric languages on topic ? ...
4
votes
3answers
104 views

Is this a good question for this site?

I hope this question is good for this site: https://codereview.stackexchange.com/questions/61534/string-interpolation-in-routes-view If it isn't, is it possible to move it to another site?
21
votes
5answers
948 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 ...
8
votes
1answer
114 views

Reviewing code while alluding to a design question

Wells, for the nth time... https://codereview.stackexchange.com/questions/61319/good-io-library-design Copying my comment in verbatim, with extra emphasis: Wells this is the really really grey ...
8
votes
2answers
96 views

Why was this question migrated away? Is it off-topic for Code Review?

Creating New Scripts Dynamically in Lua For absolute clarity, here is the code that the questions asks to review (this is lua): ...
4
votes
1answer
69 views

Custom Close Reason Post-Mortem

Why does this Python maze-solver NOT get stuck? [closed] This question was closed using the custom close reason. The comment posted with the custom close reason was: This question appears to be ...
10
votes
1answer
64 views

Is minifiying on-topic?

I recently asked a question asking whether my code could be minified any further, but it was put on hold for being off-topic. Tim commented that he "voted to close as this is a code-golf question" ...
7
votes
2answers
109 views

Are Monte Carlo algorithms off-topic by definition?

One of the key requirements for posting here is working code to the best of our knowledge Where working means that the code compiles and returns correct results. Where does that put Monte Carlo ...
11
votes
3answers
118 views

Are censored URLs considered example code?

A c# question was just posted: Set desktop background. One of the lines in the posted code looks like this: ...
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 ...
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 ...
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 ...
6
votes
1answer
161 views

Is this slow-loading images question off-topic?

This question was closed for asking for code to be written, but I think it is really asking how to speed up the loading of images, which I would think is performance related, which is something that ...
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, ...
5
votes
1answer
88 views

Questions about speed/memory comparisons

This question should be considered as an expansion discussion on the policy discussed in Should comparisons of code snippets be closed as "not seeking a code review"? For comparative ...
8
votes
2answers
64 views

Does a good posted answer make the question on topic regardless of content?

There exists a relatively well defined set of rules in the Help Center that help guide us to deciding what sorts of questions are on-topic and should remain open versus what sorts of questions are off-...
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 ...
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 ...
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?
12
votes
2answers
301 views

OP says it works, the contest engine says it doesn't

What do we do when OP says his solution works, but the contest engine says it doesn't? Should we give it the benefit of the doubt, as "It works to the best of my knowledge.", or close it as broken ...
12
votes
3answers
288 views

Are requests to diagnose a known security problem on-topic?

In PHP mail form is being abused, the question asks for help finding how an e-mail script got exploited. Finding security problems is normally within the scope of Code Review, and we routinely point ...
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 ...
8
votes
2answers
129 views

Is a bad approach for a problem a good reason to close a question?

Related meta question, regarding the inverse of this question: Is solely suggesting another solution a bad answer? See Accelerate OpenGL 2D on Python3 and Finding Primes in Java. These questions ...
8
votes
2answers
78 views

Questions about code translation

Translate C++ code to Haskell This question was put on hold and then deleted by the user. And for this specific question, I think that is fine. It was off-topic as it didn't include the translated ...
9
votes
2answers
162 views

Can we answer these Javascript/CSS3 performance questions?

I've seen that lately the amount of questions regarding performance issues when using Javascript, jQuery, CSS3, etc. has increased. Question is: Can we actually review them? I'm edging towards no, ...
9
votes
2answers
117 views

Is it really off-topic to ask for the explanation of a “best practice”

This question was put on hold for being off-topic: https://codereview.stackexchange.com/questions/58091/why-is-it-suggested-to-replace-temp-with-query To refactor the code, it is suggested here to ...
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 ...
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 ...
7
votes
1answer
102 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 ...
1
vote
1answer
57 views

What is the relationship between “example code” and “example project?”

A handful of people seem to have formed the opinion that an example project is exempt from this topicality constraint: Is it actual code from a project rather than pseudo-code or example code? The ...
15
votes
3answers
257 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? ...
9
votes
2answers
117 views

Reviewing software, not only code

I'm looking for some people/community who are doing each others' software reviews, but not only code. Actually code is the least important. I would like somebody look at my software as a whole and ...
6
votes
1answer
80 views

Asking for comparison of design of two code snippets giving same functionality

I had asked for the review of the part of a jQuery and as per the answer I made changes in the file. Now after making the changes (mainly moving from triggers to functions) I am not so sure whether I ...
11
votes
4answers
96 views

Are Git workflow questions on-topic?

I recently started working part time in our organization's IT department and am working with one other person who has previously been the sole developer on several applications used in the office. We ...
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 ...
5
votes
3answers
177 views

Are SSCCEs off-topic?

I was recently reviewing a question, which (if I had paid better attention to the question from the beginning, I may have noticed before answering) had a SSCCE as its primary code example. At first ...
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 ...
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-...
10
votes
2answers
63 views

Multithreading issue freezes the system - working code?

This question was closed as non-working code, in spite of the following, from the OP: THe [sic] problem is that this implementation makes the CPU of the machine where the service app is running go ...
8
votes
2answers
53 views

Are reviews of protocols in scope here?

The rules for this 'exchange state quite clearly that discussion of Higher-level architecture and design of software systems [...] is off-topic for this site. However, I'm wondering if we might ...
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 ...
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 ...
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 ...
8
votes
1answer
60 views

Ask for review on JavaScript code style/structure, usage of patterns, and general quality of the solution

I have code I want to get reviews for. It's not a particular problem, and the code actually works wonders. I just want to see what other experts can suggest in order to make it better, improve style,...
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 ...
16
votes
2answers
176 views

Does this question belong on Code Review? Should it go to Code Golf?

I posted this question about how to rewrite a C# algorithm in fewer lines of code, preferably using extension methods, which prompted a discussion in the comments about whether it was appropriate for ...
11
votes
4answers
168 views

Revising or removing the “Best practices” topicality rule

In the Help Center, under What topics can I ask about here?, one of the rules currently states: However, if your question is not about a particular piece of code and instead is a generally ...
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: ...