Use this tag when examining what is on-topic or off-topic, and why.
15
votes
2answers
170 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 ...
11
votes
2answers
119 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, ...
9
votes
2answers
105 views
What is the difference between golfing and reducing code size?
I'm going to be starting a project (a programming challenge) where the compiled source code must be under a certain amount of bytes, and I already know that I am going to be having trouble meeting ...
12
votes
3answers
203 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.
...
10
votes
2answers
78 views
Comparing [tag:comparative-review] to a regular review
I think that a comparative review should be 2 questions, and then the user can take the answers from both and do the comparing on their own. then they can decide what is going to work best for ...
5
votes
1answer
81 views
Stack Overflow moderator declined to migrate question asking to shorten code
According to the FAQ, the following topics are wanted on Code Review:
Isn't there a point missing? I see a review of my code not only as an attempt to improve performance, security and structure, ...
10
votes
2answers
55 views
What types of questions are we allowed to ask?
I am new to this community, previously coming from Stack Overflow and having no luck there. My questions always got downvoted and I was restricted from asking questions for days at a time. Then I ...
47
votes
1answer
684 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 ...
7
votes
3answers
79 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 ...
6
votes
2answers
75 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
82 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 ...
7
votes
2answers
59 views
Is this question off-topic because of being a copy/paste of another homework assignment?
For this question:
Circular Queue program
one of the answers noted that the code in the question appears to be copy/pasted from this homework assignment.
Should the question therefore be closed as ...
20
votes
8answers
313 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
58 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 ...
15
votes
1answer
69 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
69 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
110 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 ...
5
votes
1answer
66 views
Could I make my design/approach question on-topic?
I just want to discuss my question which was put on hold:
Config data management within a framework
I'm not ranting or arguing. I'm just trying to ascertain why my specific question was not on ...
9
votes
2answers
77 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 ...
12
votes
0answers
52 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
44 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?
18
votes
5answers
161 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
129 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 ...
6
votes
1answer
30 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 ...
17
votes
3answers
417 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 ...
1
vote
6answers
157 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 ...
7
votes
0answers
33 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 ...
13
votes
2answers
134 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
84 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
39 views
Should this question be un-migrated or migrated to another site?
Question in question: What is processing inefficiency and object allocation efficiency?
As Simon pointed out in the comments, the question is not so much about "Please review how I am solving the ...
9
votes
1answer
81 views
Do there exist 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 ...
13
votes
2answers
116 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
30 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 ...
20
votes
1answer
203 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
56 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 ...
10
votes
7answers
178 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
21 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
165 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 ...
6
votes
2answers
120 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
86 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
101 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
112 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
33 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
33 views
What causes a question to get closed as example code?
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 makes it example code as sometimes we have to change ...
10
votes
1answer
89 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
157 views
The Code Review/Programmers/Stack Overflow hot potato
I don't want to cross-post on all metas so code review has to be the target of my ire, apologies.
Current hotness:
Test & remove, or always remove
So I'm starting to notice that questions are ...
6
votes
3answers
88 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
73 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
64 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 ...
10
votes
1answer
83 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 ...