Stack Exchange Network

Stack Exchange network consists of 175 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

Questions tagged [scope]

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

0
votes
2answers
80 views

Caesar Cipher in C++

Come on people!!!!! Caesar Cipher in C++ Closing this as of-topic is ridiculous. It compiles it runs it works (for specific input). Yes it has flaws but this code is basically 99.9999999% complete ...
-1
votes
2answers
41 views

Code review of YouTube video

I have a YouTube playlist that I have created showing my iterative approach on a subject ("C# CUSTOM Script Language Creation"). I know that sites like this one have some limitations as to what is ...
-2
votes
1answer
53 views

Is {language} on-topic?

When looking to see if a niche language is on-topic on Code Review it's fairly hard to tell if it is or isn't. The help centre only says "code": Code Review is a question and answer site for ...
2
votes
0answers
37 views

Add the word “readability” to the off topic close reason

Today we have this close reason: Code not implemented or not working as intended: Code Review is a community where programmers peer-review your working code to address issues such as security, ...
0
votes
0answers
39 views

Merge example code, stub code and insufficient context reasoning into one?

When expanding the guide to wonderland, I'm trying to explain what example code, stub code and context are. When trying to explain why example code is off-topic all I can think of is something like: ...
10
votes
1answer
180 views

When is explaining code to its author on topic?

The question Python: My program is unable to perform addition correctly which asked for an explanation as to why the code was buggy was closed as off-topic; I don't know about the last two close ...
4
votes
1answer
79 views

Review one-by-one feature?

I am writing a library. It is mostly ready, but there are known bugs and ToDo stuff (including for example missing const specifiers for member functions which do ...
7
votes
1answer
123 views

Question about “Polymorphic implementation of == with CRTP” on hold as off topic

I have a question about my Code Review Stack Exchange post: Polymorphic implementation for == with CRTP. It was put on hold as off topic stating (mainly) that the use case is theoretic or not ...
4
votes
0answers
42 views

Is a question on topic if the code works locally but errors when submitted to a coding site? [duplicate]

This is about a recently posted question: Codejam 2018 - Getting confusing runtime error The OP claims it works for him locally, but generates a Runtime Error on the Google Code Jam website itself. ...
8
votes
1answer
180 views

Posting a question where part of the code contains a known bug

There is a particular requirement that has two versions. The first version has proven to be more challenging than the subsequent version to both describe the specification and compose; and also ...
7
votes
1answer
82 views

Acceptability of questions about checking for race conditions

Is it acceptable for users to post questions in this community and have their code evaluated by others to check for race conditions? Or do these types of questions fall under the banner of 'broken ...
0
votes
2answers
231 views

To serve, what is it to ask for review?

Food for thought. There are times when questions come along which demonstrate a student's query, and with that comes the student's ill fated attempt to pose an "on topic" question without much ...
3
votes
2answers
99 views

How to prevent people from answering off-topic questions?

Assume a person is asking about their broken code and someone suffering from FGITW-syndrome immediately answers it. Then maybe the answer and/or even the question gets upvoted. This completely ...
4
votes
1answer
92 views

Closure of finding the longest word in a string

Recently we got the question Finding the longest word in a String. (10k required) This question looked like it was off-topic, because of the following results: ...
4
votes
1answer
154 views

Can you post code that works on one version of a interpreter (ex:Python 2) but not on another (ex:Python 3)

I am new to this specific Q&A site and I got my rep off of association bonuses, and I wanted to ask how to fix my code to work for another version of python. I noticed the text "Post code that is ...
4
votes
1answer
112 views

Technology review without code

I developed a new blockchain technology. I have white papers and my code is under development. I would like to ask a question about my technology idea and not providing actual code. Is that kind of ...
0
votes
1answer
81 views

When to create a generator or return simply a list, closed for missing context

The other day we got the question: When to create a generator or return simply a list in Python? This question has a generic title, some code which contains enough code to be reviewed. And a couple ...
14
votes
2answers
226 views

Code that handles n% of test cases but not all

I've started noticing recently questions like this one (66%, not well received) or that one (50%, well received) where the author states something like this: I am trying to solve this problem on ...
2
votes
1answer
55 views

When is a question considered too hypothetical / lacking context?

The reason I'm asking is because I recently encountered this question, and I can't make my mind up if it's off-topic here or not. I asked OP to include the imports so I could run the program, but ...
11
votes
4answers
191 views

Can you show me how to apply a specific strategy to my working code to improve it

As brought up here, I'm not sure when the last time we (as a site) discussed how to determine if questions are on- or off- topic. A lot of questions currently fails the "any or all facets of the ...
10
votes
5answers
190 views

Are vectorization requests on-topic?

Currently, there are 62 questions tagged vectorization, nearly all of which say "The performance sucks; how can I vectorize this code?". Recently, How to efficiently apply correction to a time series ...
12
votes
2answers
180 views

When are Machine Learning questions on-topic?

With the increase in popularity of machine learning and its libraries, we are also getting more machine learning questions. Machine Learning is a tricky subject as the concept of whether or not the ...
10
votes
1answer
85 views

Why is “Building a good C++11 template library - compile-time checked enum array” on-topic?

The currently highest voted unanswered question is, well, unanswerable. As Martin said one year ago, "there is actually nothing here to review" and "the actual code is missing as are some other parts ...
11
votes
3answers
244 views

“Who Wrote This?” and What Do We Actually Consider Authorship?

As I was working through the Close Votes Review Queue, I came upon a question beginning like this: I just cloned (Github clone, not literal clone) someone's Tic-Tac-Toe game and I was originally ...
1
vote
2answers
51 views

Why don't we have a close reason like “off-topic because of asking to find a 3rd party resource” like SO has? Or at least a “Blatantly off-topic”?

I recently came over this question I am trying to implement duplicate file finder in visual C++. I followed this link Successful implementation of Duplicate Files Finder in C++ But it don't ...
9
votes
4answers
146 views

Is a BNF grammar for a language acceptable for review as concrete code?

Syntax for a simple scripting language is a question asking for a review of a grammar of a C-like language. The grammar specification isn't an input for any specific parser generator tool: I wrote ...
7
votes
1answer
62 views

Could we detect phrases like “not working” and “bug” in question titles and warn users?

It has been mentioned recently that ~62% of close votes come from the "broken code" or "code not yet written" category. I'm wondering if we could help lower that percentage by detecting certain key ...
16
votes
5answers
235 views

Are questions with undiscovered bugs allowed?

Re: Connect 4 in C++ Situation: The OP, a beginner posted code with several bugs in it. They said they thought the code worked okay, because they hadn't discovered the bugs during their testing, ...
0
votes
2answers
52 views

Code typed in from a non-text source or converted from another language and isn't working - is this in the scope here?

I recently typed in code from a scan in a PDF is pseudocode or in another language to make a JavaScript version. The code was implementing things of a mathematical nature beyond my math abilities ...
-1
votes
2answers
76 views

Why was “Check if a variable is one of a set of valid strings” put on hold?

They said: Questions must involve real code that you own or maintain. Pseudocode, hypothetical code, or stub code should be replaced by a concrete implementation. Questions seeking an explanation ...
8
votes
2answers
183 views

How should we handle answers on non-code questions?

Recently I've come across a question that didn't contain any code. The questioner instead asked for code, as some new users do. So far same business as usual, but a user went ahead and posted a ...
-3
votes
1answer
49 views

“Count maximum number of thieves that can be caught” question should be reopened

The following question was closed as off-topic: https://codereview.stackexchange.com/questions/176469/count-maximum-number-of-thieves-that-can-be-caught The code seems complete to me and the ...
12
votes
2answers
249 views

I think my code might have a bug, but I am not sure if it actually does, is it broken code?

I have some C++ code that I am executing from C# dotnet core 2. In my C++, I am using a third party library. My code builds and runs, but after being executed a few million times (2.5 mil last time) I ...
0
votes
0answers
36 views

Can I ask a Code Review question about a Linux kernel patch made by someone else? [duplicate]

I've been following another developer who fixed a bug in the Linux kernel. The developer has posted a patch series hoping it would get reviewed/merged, but he got no response so far. The patches have ...
-1
votes
2answers
59 views

“How get all id from the db insert” question closed as “not ready for review”

I just got my question closed How get all id from the db insert Accordingly to message my question isn't on topic because my code doesn't work. But my code does work I just don't want to send so ...
8
votes
1answer
121 views

Can I ask to review my ebuild or rpmspec file?

Does the site welcome questions about writing ebuilds, rpmspecs or simular files for advanced package management? While it's relatively easy to come up with a working script, making a high quality ...
13
votes
5answers
212 views

Are requests to analyze the complexity of code on-topic?

Here is an example of a question that asks for a big-O analysis of a function (to count the number of ways to make change): What is the run time of this algorithm? Here is my algorithm ...
-3
votes
1answer
60 views

Is it ok to ask here how code works? [duplicate]

I have a working piece of code without any documentation and explanation, but I don't understand how it works. Can I ask such questions or not?
3
votes
1answer
51 views

Are regex reviews allowed on this site? [duplicate]

I have a working regular expression and I want to have it reviewed. Can I post it on this site?
11
votes
1answer
152 views

Should I post about my design and architectural concerns on Code Review or Software Engineering?

I've developed an application and I'd like to know if I've done it well. But my main concerns are not really about the code itself, which is quite simple, but more about the design and architecture, ...
6
votes
2answers
137 views

What are the conditions for asking a Wolfram Mathematica question here?

What are the conditions for asking a Wolfram Mathematica question here in this community instead of the specific Mathematica community? There is even a specific tag for this: wolfram-mathematica
11
votes
2answers
166 views

SQL Query Review

Assuming a SQL query is well-formed, works correctly, and meets the other general criteria for appropriate reviewable code here, are SQL query reviews on topic? If so, is there a threshold of ...
15
votes
1answer
158 views

Can I ask for review for something specific without posting too much context?

I'm working on an Angular2 application and I think one very small, specific function (list filtering) needs improvement and I would welcome reviews. Essentially I iterate more times than I think is ...
8
votes
3answers
162 views

Is it okay to ask for feedback on code you modified extensively but aren't the original author of?

There's an init script template I used once a while ago. I've been working on tweaking it to be more POSIX compatible and stylistically easier to follow, but I'm not the sole or primary author. https:...
6
votes
2answers
144 views

Is an answer not discussing the code at all on-topic?

I came across the question: Single-page personal portfolio website It has an answer, that doesn't review the code at all. It only comments: […] I can tell you there is not many things you can ...
11
votes
1answer
159 views

Can I include a short story of implementation?

After trying to implement functionality mentioned in this answer I've run into deep troubles. I learned a very important aspect of C++ template type deduction, and I think that the knowledge could be ...
10
votes
1answer
229 views

Are you allowed to post incomplete programs that you still want reviewed?

Are you allowed to post incomplete programs that you still want reviewed? I made the start of a battleship game, but I want people's opinion before I finish it.
27
votes
3answers
243 views

Is asking for a review of boiler plate for a minimal repro okay?

For asking and answering questions on Stack Overflow with certain frameworks and libraries I have boilerplate lying around for a minimal repro. I would be interested in getting feedback on my WCF ...
3
votes
1answer
50 views

Is it possible for me to get a review of my language? [duplicate]

I'm currently designing a stack-based language intended for scripting. I'm wondering if it's possible for me to have its syntax evaluated by this community, e.g., I'd describe the language and how it ...
2
votes
3answers
192 views

Preventing the ability to re-open off-topic questions by explaining how it's broken in an answer

Earlier this year I posted an answer to a question, saying that it's broken in a way that OP don't think, explaining it a bit, and then wrote a comment saying it's off-topic, and voted to close. ...