Use this tag when examining what is on-topic or off-topic, and why.
0
votes
1answer
25 views
Are implemented API reviews without code on-topic?
I've been reading through the various questions asking whether or not API reviews are on topic, but they've left me a bit confused.
In particular "Are questions about public interface (API) on topic?"...
9
votes
2answers
73 views
Are just data structures enough for a question?
I am getting back in to CodeReview, and was reviewing one of my SEDE queries which pointed me to this question:
Flattened Data Model and noSQL data structure
There are no operations in this code, ...
4
votes
2answers
136 views
Transforming a similar concept into a code review
Would it be OK to ask a question about code review on something that strictly-speaking is not code as such, as far as most users are concerned? But the underpinnings are such that the problem is in ...
3
votes
2answers
45 views
Would it be okay to ask a question about an algorithm from a paper that's not freely available?
I've implemented the "inefficient but simple algorithm" from Derek Oppen's paper "Prettyprinting" from ACM's TOPLAS Volume 2, No. 4. However, it didn't work. After spending hours we think we've ...
3
votes
2answers
40 views
Are specific troubleshooting questions on topic?
In the Help Center, I read that general questions about code review are off topic. It also says that only working code questions are on topic. Does this mean I can't ask about my finished code that ...
-2
votes
2answers
49 views
Is it off-topic to ask for test cases (“use cases”)?
May I ask if you can come up with tests if I have functional code or do I have to develop good tests myself? I did develop a test that works but only with static libraries (which I might consider a ...
1
vote
1answer
38 views
Can I ask questions about where my code went wrong in algorithms and problem solving?
I have recently started solving problems with Python. Many of the programming problems involve complex algorithms and are hard to solve. I need help knowing if the code I've written produces wrong ...
6
votes
2answers
107 views
Non-code formula spreadsheet
From what I can tell this site is mainly (not sure about solely) for the use of reviewing CODE. I am wondering if it will also review code-free spreadsheets for potentially better formulas, or layout ...
17
votes
3answers
338 views
They asked me to write awkward code – how did I do?
Recently, somebody was given a homework assignment with an exercise specification that left much to desire. Yet, they've tried to make the best out of it and managed to write some code that seems to ...
1
vote
0answers
27 views
Are design questions (with actual code) on-topic? [duplicate]
Suppose I'm working on a particular module in my software. I have a proposed design (possibly already implemented or prototyped) that I want feedback on in a tangible format, such as a Java ...
12
votes
2answers
141 views
Rehash “How secure is my X” cryptography questions
This has been discussed before about 2 years ago: “How secure…” questions - Code Review vs. Information Security SE but it doesn't appear to have led to anything very conclusive.
These questions are ...
9
votes
1answer
150 views
Is asking about open source code OK?
Can I ask about open source code if I want to understand why a line of code is present when seemingly it does not affect the program behaviour, but there are good chances that it's there for a reason?
...
14
votes
1answer
185 views
Does a single shell command constitute reviewable code?
A question asks to have a command-line invocation of FFmpeg reviewed. Is that reviewable code?
There is currently no language tag, though shell unix could be added.
Let's not discuss whether a ...
9
votes
2answers
266 views
Can I request that someone look over my legal code?
I wrote two licenses under which I will place my software and art, and I want to make sure they're good enough for what they're intended to do. Is it OK to post them here for review?
11
votes
3answers
130 views
Design review for a compiler question
This question:
'Basic' compiler design for a toy C-like programming language called "Lupe"
Is more of a design review rather than a code review. I have plenty of valid feedback ...
8
votes
1answer
72 views
Where do I ask questions about software structure?
One of the bullet points for this site is that it is not for asking, "Higher-level architecture and design of software systems".
That's exactly what I'm needing answers about. If not here then where?...
13
votes
6answers
170 views
What should we do about questions asking to “fix” warnings?
Around the time of writing this post, this question was asked: Extension method to list enum values. The OP is asking how to "fix" their code so a specific warning doesn't pop up (emphasis added):
...
1
vote
2answers
74 views
Should Code Review serve as a refactoring cookbook?
NB. It's not an argument against "keeping the original code intact". I understand the point, I agree with the benefits and I realize the issues that may arise should we digress.
I'd like to hear the ...
6
votes
1answer
77 views
Are answers that discuss design/architecture related aspects of an on-scope question valid? [duplicate]
On IsInternetAvailable, I've written an answer (IsInternetAvailable) that addresses more high-level issues with the code from my perspective.
From what I can tell from the help center, questions that ...
12
votes
1answer
110 views
Disagreement on closure of “Diffee-Hellmen in Javscript”
The question Diffee-Hellmen in Javscript was closed today for being unclear what the OP was asking for.
I disagree with this, however. The very beginning of the post says this:
I need to do the ...
13
votes
6answers
151 views
Is nitpicking worthy of a full answer?
Sometimes, others have already pointed out the obvious flaws in a review. What is left after that are details: naming conventions, style conventions, things that are not bugs that affect results, ...
1
vote
1answer
34 views
Is a review request for a single class on topic for CR?
Before I post another one of those. Is it ok, to post just a single utility class for review here like I did in this question or was I just lucky and I should post such questions on SO?
16
votes
7answers
194 views
One Question Per Question
I voted to close this question as being "Too Broad," on account of the fact that it's actually five, independent questions. At the very least, an answer would have to address all five questions, so it'...
22
votes
6answers
215 views
If SO had a standard off-topic reason for code review requests, how should it be worded?
We have long been fighting a battle against Stack Overflow users who vote to close questions with custom reasons like
I'm voting to close this question as off-topic because it belongs on Code ...
0
votes
2answers
68 views
Should minor broken code be reviewed?
Translating array pointer access from C++ to Delphi
I agree that the question should not be deleted for minor problems like that (Should mostly working but a little bit broken code stay or be deleted?...
14
votes
1answer
98 views
Clarification as to why a question was closed as off-topic
An old question that was posted 3 years ago was put "on-hold" as off-topic.
I have not been an active participant on Code Review (I received a notification thanks to a down-vote a couple of days ago),...
14
votes
2answers
163 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?...
10
votes
4answers
140 views
Rewriting specific parts of the code
This question got closed. Initial close comment:
I'm voting to close this question as off-topic because it's asking for a feature request, not for a Code Review.
3 counts on that and 2 for ...
15
votes
2answers
210 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 ...
13
votes
2answers
176 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, ...
6
votes
1answer
70 views
Using example code to demonstrate the use case
Take a look at the code in this recently closed question. It clearly consists of two parts.
The method, which OP wants us to review.
An example (hypothetical?) code, which demonstrates the use case ...
9
votes
2answers
124 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
231 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
83 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 their ...
5
votes
1answer
87 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
67 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 ...
108
votes
1answer
3k 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
117 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
78 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
89 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
60 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 ...
22
votes
8answers
472 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
59 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
78 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
76 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
112 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
70 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
92 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 ...
13
votes
1answer
81 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
47 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?