Questions tagged [scope]

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

Filter by
Sorted by
Tagged with
17 votes
3 answers
411 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 ...
user avatar
  • 4,240
1 vote
0 answers
41 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 ...
user avatar
  • 459
12 votes
2 answers
186 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 ...
user avatar
  • 20.3k
10 votes
1 answer
191 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? ...
user avatar
  • 101
15 votes
1 answer
347 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 ...
user avatar
8 votes
2 answers
278 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?
user avatar
  • 417
10 votes
3 answers
168 views

Design review for a compiler question

This question: https://codereview.stackexchange.com/q/117311/507 Is more of a design review rather than a code review. I have plenty of valid feedback that could be applied to the question but it's ...
user avatar
  • 91.7k
6 votes
1 answer
86 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?...
user avatar
13 votes
6 answers
266 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): ...
user avatar
-1 votes
2 answers
144 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 ...
user avatar
6 votes
1 answer
102 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 ...
user avatar
  • 1,506
11 votes
1 answer
172 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 ...
user avatar
  • 13.2k
12 votes
6 answers
286 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, ...
user avatar
  • 1,506
1 vote
1 answer
45 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?
user avatar
  • 563
15 votes
7 answers
228 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'...
user avatar
  • 18.3k
22 votes
6 answers
242 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 ...
user avatar
0 votes
2 answers
135 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?...
user avatar
  • 479
14 votes
1 answer
115 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),...
user avatar
15 votes
2 answers
270 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?...
user avatar
10 votes
4 answers
227 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 broken ...
user avatar
  • 12.8k
16 votes
2 answers
262 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 ...
user avatar
  • 12.8k
16 votes
2 answers
241 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, ...
user avatar
  • 471
6 votes
1 answer
83 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 ...
user avatar
  • 13k
9 votes
2 answers
135 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 ...
user avatar
  • 13.2k
13 votes
3 answers
291 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. ...
user avatar
  • 3,624
9 votes
2 answers
95 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 ...
user avatar
  • 28.5k
6 votes
1 answer
112 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, but ...
user avatar
11 votes
2 answers
104 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 ...
user avatar
214 votes
1 answer
11k 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....
8 votes
3 answers
178 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....
user avatar
  • 3,753
7 votes
2 answers
88 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); ...
user avatar
8 votes
4 answers
104 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 ...
user avatar
8 votes
2 answers
80 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 ...
user avatar
  • 28.4k
22 votes
8 answers
630 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 ...
user avatar
  • 12.8k
2 votes
1 answer
67 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 ...
user avatar
13 votes
1 answer
101 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 ...
user avatar
10 votes
2 answers
93 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; ...
user avatar
  • 191
10 votes
2 answers
153 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 ...
user avatar
  • 1,160
6 votes
1 answer
82 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 ...
user avatar
  • 223
10 votes
2 answers
127 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 ...
user avatar
  • 96.8k
14 votes
1 answer
95 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 ...
user avatar
  • 5,714
2 votes
1 answer
56 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?
user avatar
  • 301
19 votes
5 answers
410 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 ...
user avatar
8 votes
2 answers
143 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,...
user avatar
  • 3,624
6 votes
1 answer
119 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 ...
user avatar
25 votes
6 answers
849 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
6 answers
183 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 ...
user avatar
  • 101
10 votes
0 answers
56 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 ...
user avatar
15 votes
2 answers
173 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 ...
user avatar
  • 938
8 votes
1 answer
100 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 ...
user avatar