Questions tagged [scope]

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

Filter by
Sorted by
Tagged with
189
votes
1answer
9k 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....
7
votes
3answers
154 views

Topicality of question “Project Euler #52 - Permuted multiples”

Regarding this question, OP has stated his code works under SpiderMonkey 1.8.5, but not in NodeJS. I've looked at the SpiderMonkey 1.8.5 page and it states that; Note that version 1.8.5 is outdated....
6
votes
2answers
82 views

Why is “Random value excluding both limits” considered an off-topic question?

I recently asked this question: Random value excluding both limits The code to review is as follows: do { var random = Math.random(); } while(random === 0); ...
8
votes
4answers
97 views

How do comparative reviews …compare to the rest of CR questions?

I stumbled upon this question in the reopen queue, and looking at it I could find reasons to leave it closed, so I voted [leave closed]. Then I was curious about what made it gather so many reopen ...
8
votes
2answers
66 views

Is this question off-topic because of being a copy/paste of another homework assignment?

For this question: https://codereview.stackexchange.com/questions/95474/circular-queue-program one of the answers noted that the code in the question appears to be copy/pasted from this homework ...
22
votes
8answers
601 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 ...
2
votes
1answer
61 views

Confusion over posting an acceptable question

My question was closed with a very vague reason. I'm a member on multiple Stack Exchange sites and haven't had issues before with creating a question. If my question is off-topic I would say the ...
14
votes
1answer
86 views

Are Code Golf King-of-the-Hill controller programs allowed here?

I am in the process of writing a KOTH challenge for Code Golf (it's on the meta sandbox), and like for all KOTH challenges I need to write some code to pit everyone's bot against each other. I've done ...
9
votes
2answers
81 views

Can I post some code that has a small potential bug?

I've written a program that works most of the time. But occasionally it would crash due to a segfault, so I wonder whether it is proper to post such a snippet of code. Most programs contain bugs; ...
9
votes
2answers
123 views

Why was the question too vague?

I'm reasonably new here but wondered why this question got put on hold? The OP asks for a review of the code he had provided as the answer to another post on this site. (He includes a link to the ...
6
votes
1answer
74 views

Could I make my design/approach question on-topic?

I just want to discuss my question which was put on hold: https://codereview.stackexchange.com/questions/93537/config-data-management-within-a-framework I'm not ranting or arguing. I'm just trying ...
10
votes
2answers
115 views

Optimizing a Neural Network - on topic?

Backpropagating with Neural Network The above question asks for help in optimizing a genetic algorithm. At the moment the algorithm takes too long to stabilize. I have voted to close the question as ...
14
votes
1answer
88 views

Should a warning be displayed when writing a question with no code?

On SO, if I include the words "best practice" in the title of a question, I get a message before I even submit the question warning me that the question appears subjective and may be closed. Could we ...
2
votes
1answer
49 views

What more can I do for my question to not be off-topic?

Generically calling an overloaded method My question has been deemed off topic even after editing. What else is needed?
20
votes
5answers
378 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 ...
8
votes
2answers
136 views

Are reviews that ask us to DRY their code within the spirit of CR?

This is very closely related to my meta SO question asking Are DRY questions on topic?. Most of the questions over on SO asking for DRY are not suitable for CR and should not be migrated. In my mind,...
6
votes
1answer
104 views

Asking questions with UML diagrams instead of code [duplicate]

Can I ask a question with a UML class diagram instead of code? What about instead of some code? The kind of questions I'm interested in asking are about software architecture, not low-level coding ...
26
votes
6answers
825 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 ...
1
vote
6answers
176 views

Should there be evidence for a provided reason when a question is put on hold?

It is easy to say about code that it is written by someone else. It is fine if it is based on concrete facts by providing a link to that code of which they think that it is written by someone else. It ...
8
votes
0answers
50 views

Reword tour page to specify best practices in specific cases

This is my own fault, but if I made the mistake I'm sure others could too. I missed that "Best practices in general" was in the "Don't ask about section" because I stopped at "Best practices and ...
14
votes
2answers
162 views

Questions that are “I did this, it seems to work, how did I do?”

I've been an active member of StackOverflow for more than two years, and have a decent amount of rep on some other SE sites like Programmers, Code Golf and here. But the one type of question that ...
8
votes
1answer
92 views

Can I post this stored procedure as a question for review?

I have this stored procedure which is simply collecting lots of information so there isn't really anything I could name it to explain. Would it be best to ask a question with stored procedure code in ...
2
votes
3answers
41 views

Should this question be un-migrated or migrated to another site?

Question in question: Printing a multiplication table As Simon pointed out in the comments, the question is not so much about "Please review how I am solving the problem of printing a multiplication ...
12
votes
1answer
123 views

Does there exist any conditions for closing iterative review questions as duplicates?

As far as I know, we simply don't close questions as duplicates on Code Review. I think it's even been mentioned that a Code Review duplicate has to be basically an exact copy & paste of the ...
14
votes
2answers
143 views

Does a simplified and self-contained code constitute 'real code'?

I am currently developing an Android application, which makes use of tabs. Because I faced some problems when updating individual tabs in the UI, I have created a new app whose sole purpose is to act ...
2
votes
2answers
46 views

Are questions about which of a few implementation choices to pick from on topic here? [duplicate]

Let's say I have a question roughly of the form: I am trying to implement some not uncommon thing, X. I have done it in three different ways: Full, working, concrete example implementation ...
21
votes
1answer
433 views

The Guiding Principles of Code Review

What do you believe are the Guiding Principles of Code Review? What are the purpose and mission of the site? Recently (and not so recently) a lot of effort and hair-pulling has gone into discussing ...
3
votes
3answers
73 views

Does original code being code-golf/obfuscated make a question automatically off-topic?

From the Help Center: Do I want the code to be good code? (i.e. not code-golfing, obfuscation, or similar) To me, this part of the check list reads as "Do I want the code to be good code (as ...
12
votes
7answers
238 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 ...
5
votes
0answers
28 views

Can I post Excel formulas for review here? [duplicate]

I want to get a review on some Excel (Non-VBA) data validation formulas I have applied to some columns in a spreadsheet. Is this acceptable? I feel like it will get closed on SO because I'm really ...
10
votes
2answers
181 views

My code works in most scenarios, but this one scenario breaks, and I'd like help fixing that one scenario!

My code works in most scenarios, but in this specific scenario, it does not at all do what I intend for it to do. I was hoping to have it reviewed and see if anyone could spot a fix. Is this sort of ...
6
votes
2answers
139 views

What to do with Playground questions?

Are questions about code and its performance in a "Playground" on-topic? This question is primarily inspired by this question (which is off-topic anyways as being broken code): Simplify expression in ...
5
votes
3answers
91 views

What should we do with questions which are looking like sample code but are a proof of concept implementation?

Yesterday I stumbled over 2 questions which seemed to be sample code. The first stated I wrote a sample project to show you my model. What do you think about it? and the other had code like ...
7
votes
1answer
113 views

Valid HTML Vs. Viewable HTML

If a user can view the HTML the way they need to on IE (hypothetically), but the HTML isn't valid, is it still On-Topic? How have you decided this in past? Should we continue to use the same set of ...
7
votes
2answers
166 views

CoreData or code-backed UML reviews

About: Core Data model for test-taking iOS app See also: Are UML diagram reviews on-topic for CodeReview? and Reviewing "design" I feel the linked question is off-topic because it is ...
3
votes
1answer
45 views

Are questions to review markdown on-topic?

Markdown itself is almost a (very) small subset of HTML, which is rendered as such. We use markdown on many places, including on the whole Stack Exchange network and Github. Sometimes, it is a good ...
2
votes
5answers
41 views

What causes a question to get closed as example code?

https://codereview.stackexchange.com/questions/78110/multiple-if-else-how-to-reduce-cyclomatic-complexity-of-code Here's an example of something that was tagged as example code. I'm wondering what ...
10
votes
1answer
99 views

Can I ask for feedback on an idea for a standard?

I'm looking to come up with a standard for how to implement a system that will automatically update software. As such, there is no actual programming per se, but I still want to make sure my standard ...
6
votes
3answers
209 views

The Code Review/Programmers/Stack Overflow hot potato

I don't want to cross-post on all metas, so I chose Code Review. This is the current hot potato. So I'm starting to notice that questions are now getting kicked around between sites because each ...
6
votes
3answers
95 views

Should newbie questions be moved from SO to CR for style/organization advice?

Suppose a newbie asks a question on SO with an MWE that's adequately formatted, but there are mistakes in style and organization that make it difficult to understand the code. OP is trying to ask a ...
4
votes
2answers
88 views

Is a literate programme tutorial on-topic?

I decided to write a Literate Programme Tutorial of Python in Python, i.e. a document that contains executable code as well as very extensive comments about the basic functionalties of the code. This "...
7
votes
1answer
86 views

Working code vs. working program

I have a feeling that our guidances should be worded better. Take this excerpt from the Help Center: To the best of my knowledge, does the code work? I believe this question is incorrect, as seen ...
7
votes
2answers
163 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 ...
10
votes
1answer
89 views

Are JavaScript questions about leaking memory on/off topic? [duplicate]

I have a JavaScript program (Node.js), which is working 100% fine, however recently I realized it is leaking memory, most likely from several different areas, likely due to closure pattern, and ...
14
votes
1answer
245 views

A question was migrated to CR when the OP obviously didn't want a code review. Why?

So, I ran across this question. It would be a pretty good question except for one little detail: the OP doesn't want it reviewed. ... and am not looking for pure code improvements. Also, in the ...
6
votes
4answers
264 views

What to do with bitter disappointment?

put on hold as off-topic by 200_success♦ 15 mins ago This question appears to be off-topic for this site. While what’s on- and off-topic is not always intuitive, you can learn more about it by ...
10
votes
1answer
64 views

Is the *Updating OpenGL version to 4.1 (LWJGL)* question on-topic?

This question: Updating OpenGL version to 4.1 (LWJGL) The question has an open bounty, but is it on-topic? Note: The question has been closed, and the bounty refunded.
9
votes
1answer
132 views

Is Code Review an appropriate place to get feedback on a library?

Most of the posts I see on Code Review involve short code sniplets. Is it appropriate to elicit feedback on an entire (albeit small) library? Specific example: I've quietly developed this over the ...
11
votes
1answer
98 views

Reviewing a question that doesn't belong

There is currently a question on hold, which really should never have been posted to Code Review, but I think it actually highlights a point that would be worth an answer. I started to edit the ...
8
votes
1answer
43 views

Active Directory querying Review - On Topic?

Refer to can-these-lists-and-loops-be-refactored-into-something-better, it was brought up that the question may be off-topic for CR because "the code needs to work". I usually agree with this ...