Questions tagged [specific-question]

A specific question refers to a particular and individual question on the site. This tag is used to query the community on the specifics of a particular question asked on the main site or the meta site.

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 ...
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 ...
7
votes
2answers
162 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 ...
14
votes
1answer
242 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 ...
8
votes
2answers
124 views

Why SED over sed?

I was browsing edits, and I noticed a change from sed to SED. This came in parallel with a change from awk to AWK. I follow the capitalization of AWK. Not sure that I agree, but AWK is an acronym ...
12
votes
6answers
247 views

Does this open the door for chameleon questions?

Obj-C wrapper for OpenLDAP The user originally posted the top half of the code there. An answer was posted. After the answer had upvotes and a comment from the questioner (noting his appreciation ...
20
votes
2answers
199 views

Should code be forcibly translated into English?

In Sieve prime generator C++, a user translated some French strings into English, and the edit got approved. In toBase64 encoder, the author replaced Russian strings and comments with English in ...
6
votes
4answers
263 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 ...
8
votes
1answer
159 views

What about this SO question renders it unsuitable for migration to CR?

I flagged this SO question for migration to Code Review. It's 100% C++ and, despite the fact that the OP initially left out a constructor definition that rendered the program buggy, that definition ...
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.
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 ...
1
vote
3answers
61 views

Moderators deleting a question

I posted a question about a syntax error in a Python for loop. It got closed and then deleted in the time span of a minute without me having any sort of feedback on ...
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 ...
13
votes
2answers
140 views

What should I do if someone continues to edit the question after being told to stop?

The particular rule is "What you can and cannot do after receiving answers." As I understand it, when we see someone edit code after receiving an answer, we should revert the edit and post a comment ...
5
votes
3answers
112 views

The close reason for this question seems vague

Correct User Input - x86 Linux Assembly was closed for being "off topic", but looking at what's on topic, I noticed the likely reason was vaguely stated: To the best of my knowledge, does the code ...
6
votes
1answer
91 views

How can I improve this question?

I'm referring to this question: SQL-Server Merge Statement with .NET DataTable I've given it a couple days to see what happened after I asked it initially. There's been very little traffic, no votes ...
5
votes
2answers
83 views

Why was this closed as being hypothetical code?

My question was closed with the stated reason being: Questions must involve real code that you own or maintain. Pseudocode, hypothetical code, or stub code should be replaced by a concrete example. ...
3
votes
2answers
115 views

Why was my conclusion edited out? [duplicate]

This question had a conclusion that I added after testing all of the submitted answers and updating to a newer compiler. This conclusion had information that can't be found in the actual answers. The ...
4
votes
2answers
73 views

Is this question closed inappropriately: “Operating on files from source directory”

I have been asked to evaluate the close reasons for this question here: Operating on files from source directory Has been closed "off-topic - example code". Is the question actually on-topic? If ...
-3
votes
3answers
110 views

Isn't this whole site opinion based?

I was looking at some questions and also the guidelines of StackExchange clearly state that it's impossible to avoid opinion in something which is done by human being. According to SE, but also to ...
7
votes
1answer
43 views

Question about flagging my own question

I have just recently asked this question in Code Review, and an answer to my question was found in StackOverflow minutes later. Is it a good idea to flag my own question as a duplicate since the ...
12
votes
2answers
110 views

Are requests for review of language design on topic?

This is the question that prompts this meta: Is my language easy/hard enough? How badly is it designed?. Paraphrased: I am thinking about making a language somewhat based on macros, and looking ...
6
votes
0answers
59 views

Are questions that ask *not* to offer readability/style/structure advice, on topic? [duplicate]

The question in question: A platform-independent implementation of "which" in Ruby The OP has rather specifically asked that people not talk about how to improve the readability of the code ...
4
votes
3answers
104 views

Is this a good question for this site?

I hope this question is good for this site: https://codereview.stackexchange.com/questions/61534/string-interpolation-in-routes-view If it isn't, is it possible to move it to another site?
8
votes
1answer
114 views

Reviewing code while alluding to a design question

Wells, for the nth time... https://codereview.stackexchange.com/questions/61319/good-io-library-design Copying my comment in verbatim, with extra emphasis: Wells this is the really really grey ...
7
votes
1answer
194 views

About answer-invalidating edits

As agreed by the community, editing a question to include changes suggested in answers is a bad edit, and these edits are regularly rolled back, for a good reason: we want the answers to refer to the ...
8
votes
2answers
96 views

Why was this question migrated away? Is it off-topic for Code Review?

Creating New Scripts Dynamically in Lua For absolute clarity, here is the code that the questions asks to review (this is lua): ...
4
votes
1answer
69 views

Custom Close Reason Post-Mortem

Why does this Python maze-solver NOT get stuck? [closed] This question was closed using the custom close reason. The comment posted with the custom close reason was: This question appears to be ...
4
votes
1answer
55 views

Is this close reason right?

Linked list vs array performance for RemoveAt() function [closed] This question was closed with a custom close reason. The comment left for the custom close reason was: This question appears to ...
2
votes
1answer
32 views

3 programs, one post, can I delete the ones that don't match the title?

in this question https://codereview.stackexchange.com/q/59586/18427 the OP has posted 3 programs and has been told to post separate questions, would it be acceptable for me to edit the question to ...
11
votes
3answers
118 views

Are censored URLs considered example code?

A c# question was just posted: Set desktop background. One of the lines in the posted code looks like this: ...
7
votes
2answers
100 views

Is this edit okay?

A struct within a class, and this is the edit history: https://codereview.stackexchange.com/posts/60534/revisions The original code include this method: ...
6
votes
1answer
161 views

Is this slow-loading images question off-topic?

This question was closed for asking for code to be written, but I think it is really asking how to speed up the loading of images, which I would think is performance related, which is something that ...
17
votes
2answers
107 views

May another user fix broken code in a question to make it on-topic?

If we find that a question contains obviously broken code, our standard procedure is to close the question, sending the author back to the drawing board. But is it acceptable for another user to edit ...
7
votes
7answers
280 views

“Code not yet written” clarification: Are unimplemented interfaces on- or off-topic?

I would like to know what exactly it means. The reason for asking is my question which was recently put on hold: https://codereview.stackexchange.com/questions/60108/async-task-queue-design Can ...
3
votes
1answer
47 views

Edits by other users to clarify the question to keep it from being closed

Specific edit in question How should we handle edits like this one? I assumed that the user that is suggesting the edit is actually the user that posted the question and has now created themselves ...
12
votes
2answers
301 views

OP says it works, the contest engine says it doesn't

What do we do when OP says his solution works, but the contest engine says it doesn't? Should we give it the benefit of the doubt, as "It works to the best of my knowledge.", or close it as broken ...
5
votes
2answers
103 views

Considering a migration from Stack Overflow to Code Review

I just ran into this question on Stack Overflow and there was some discussion in the comments about whether or not it would fit better on Code Review. On SO it doesn't seem to fit in its current ...
12
votes
3answers
288 views

Are requests to diagnose a known security problem on-topic?

In PHP mail form is being abused, the question asks for help finding how an e-mail script got exploited. Finding security problems is normally within the scope of Code Review, and we routinely point ...
8
votes
2answers
129 views

Is a bad approach for a problem a good reason to close a question?

Related meta question, regarding the inverse of this question: Is solely suggesting another solution a bad answer? See Accelerate OpenGL 2D on Python3 and Finding Primes in Java. These questions ...
8
votes
2answers
78 views

Questions about code translation

Translate C++ code to Haskell This question was put on hold and then deleted by the user. And for this specific question, I think that is fine. It was off-topic as it didn't include the translated ...
27
votes
7answers
734 views

New answers on old questions using new language features

Times and technologies advance, and, as a consequence, code that was up for review 'years ago' would be done differently using current technology. Is it OK on Code Review to add answers to old ...
10
votes
1answer
84 views

Reviewing code rewrites

Objective-C code clean up This question is asking for a review of a code rewrite. I feel like the code snippet above "My Review" is irrelevant and potentially distracting. However, the user has ...
9
votes
2answers
117 views

Is it really off-topic to ask for the explanation of a “best practice”

This question was put on hold for being off-topic: https://codereview.stackexchange.com/questions/58091/why-is-it-suggested-to-replace-temp-with-query To refactor the code, it is suggested here to ...
12
votes
1answer
282 views

“Enough reviewable code”

Passing Row Index of TableViewCell (custom) to another view controller The following claim is made in the asker's question: Pseudo Code: (pasted only necessary code) Let's start with the ...
10
votes
4answers
68 views

Formatting updated parts of the question bold

I'm questioning this edit. I'm used to emphasizing updates, such that people know what's new. I've seen this practice since I'm a member on SO, and used it myself quite often - and it's being edited ...
16
votes
3answers
190 views

Can we review spreadsheet formulas?

So, this question has been bothering me for a long time now. It is asking for a review of one line of "code" which is really a spreadsheet formula. Actually, it's not even asking for a review in my ...
15
votes
3answers
247 views

What to do if the asker's code contains bugs?

Based on this question: WPF Calculator Code The question's code... works, according to the author. However, I quickly spotted multiple bugs. I know that Code Review is not there for fixing bugs. A ...
7
votes
1answer
52 views

Review queue and already flagged question

I just spotted this question and flagged it off topic, as it contained non-working code. Some time later I checked the review queue and this same question popped up. I thought about what to do. ...
5
votes
1answer
93 views

Should this question be left open?

When I posted the question "Mobile touch menu" I was counting on someone else's report that they'd tested it and found it working on iPhone. But then after konijn's comment I asked that it be ...