Stack Exchange Network

Stack Exchange network consists of 174 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 [discussion]

The question you're asking is designed to solicit opinions or best-practices on a particular topic, with the goal of reaching community consensus.

4
votes
1answer
55 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 ...
-4
votes
4answers
65 views

Closing of questions citing “off-topic” as reason where user-defined code and standardized code is clearly equivalent

See From the below javascript code snippet which one is considered to be most appropriate? [on hold] Scenario 1: ...
29
votes
0answers
153 views

Code Review questions must contain code

As requested by Kaz and approved by the voters here on meta, questions asked on Code Review that do not contain code are now blocked. I've configured this initially as a three-line minimum (or three ...
4
votes
1answer
85 views

What is immoral about reviewing someone else's code? [duplicate]

The Help Center says: For licensing, moral, and procedural reasons, we cannot review code written by other programmers. Can somebody explain what is immoral about reviewing someone else's code? ...
9
votes
0answers
106 views

What's the [api] tag for?

The taginfo for api describes what an Application Programming Interface is, but doesn't give any guidance as to what kind of question it applies to. Given that the majority of code here is at ...
6
votes
1answer
73 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 ...
10
votes
1answer
184 views

Does Stack Overflow count as a third party site?

I had a question that was placed on hold with a link to this: Can I put my code on a third party site and link to the site in my question? The code I asked for review of was on Stack Overflow, and ...
4
votes
2answers
223 views

Is “How does this algorithm work?” a good question here?

If I have a question about the algorithm that I can't understand the logic behind, how and where should I ask the question?
2
votes
1answer
68 views

The problem with insufficient context

The new (well, not that new now) Insufficient Context close reason has a problem. People see the name and think it is about the text surrounding the code. The text context for the code. But the ...
7
votes
2answers
151 views

How do we handle stated restrictions around coding challenge sites' legalese?

I see things like the following on a certain coding challenge site: Copyright 2009–2018 by Codility Limited. All Rights Reserved. Unauthorized copying, publication or disclosure prohibited. I ...
4
votes
1answer
193 views

Announcement: New chat room CRCQR

As some of the regulars at the SE Code Review site already noticed we have a new chat room to request and discuss question closures: SE Code Review Close Questions room I've setup that room due to ...
46
votes
5answers
674 views

Code Review is getting boring

Boring I find that Code Review is getting pretty boring and unprofessional. The reason why I think this way is that many good questions about real-world problems don't get very much attention. ...
6
votes
3answers
191 views

Why do some users have HTTP response codes in their display names?

I know I could ask this in the 2nd monitor but figure this might be better here for posterity... and this site is for questions... I noticed a while back that there are a couple users who have HTTP ...
7
votes
1answer
149 views

Does [ascii-art] mean only ASCII?

I'm looking at the ascii-art excerpt, which says: ASCII Art is a graphic design technique that uses 93 of the 128 printable ACSII characters to create images. Whilst this is almost true (it uses ...
2
votes
0answers
21 views

Can I ask about my CloudFormation infrastructure template?

I have a template for some infrastructure using AWS CloudFormation that I'd like reviewed. However, I'm not sure if it's on-topic here; it's YAML that's describing infrastructure, not a program per se....
2
votes
2answers
92 views

I broke your code, therefore your code doesn't work: NAA discussion

Let's say the OP had code like this (imagine there's actual code here, I'm just making a generalized example for meta): ...
1
vote
2answers
219 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 ...
-2
votes
2answers
133 views

Accepting without upvoting

What could be the reason for accepting an answer but not upvoting it? Situations: Accepting own answer - ok, no upvote on self-answers OP not having 15 reputation cannot upvote. I think that OP shold ...
1
vote
1answer
43 views

Post was put on hold stating that code is not working

I have a question about my Code Review Stack Exchange post: Filling-values-for-dictionary-of-dictionaries Post was put on hold stating that code is not working but it's working and I had posted the ...
1
vote
1answer
51 views

Why is my SPOJ question receiving downvotes?

SPOJ- CPP: Gap in output What is the purpose of so many downvotes? And what does it mean that the code should be "embedded directly"?
10
votes
2answers
177 views

Removing a question I don't like anymore

I recently posted a question which I think is decent enough, but I have since decided that the code in question is flawed/ has some issues. It is not that the code is buggy or incorrect which would be ...
7
votes
2answers
146 views

Are practical user-created languages suitable for a tag creation?

I recently created a language, and was wondering (As many others may be) if a user is allowed to create a tag for their language and post a few example questions. The following things should be ...
6
votes
4answers
488 views

Code Review's updated site theme is now live for everyone

Update - the theme and layout is now live for everyone. Thanks for your feedback in this process. If there's additional feedback, please feel free to add to the answers below. As part of ...
5
votes
1answer
172 views

Posting code that violates Google's TOS

For a quick project, I thought it would be cool to make a crawler that goes over Google results, finding and recording sites that are scraping and impersonating Stack Exchange sites. The problem is, ...
2
votes
1answer
81 views

Wouldn't it be better to edit this question instead of closing it?

This question: Frequency Queries hackerrank … got closed for this reason: Code not implemented or not working as intended … … as the author wrote: However, on hackerrank it says the wrong ...
-2
votes
1answer
46 views

JavaScript concepts applying to JSX posts

Many posts are tagged with jsx as well as javascript and sometimes ecmascript-6, but then those latter tags are often removed by others. While I understand that jsx is not syntactically valid ...
3
votes
2answers
91 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 ...
-5
votes
1answer
66 views

Please reopen “Trick circumvents [position: sticky] restriction to parent”?

Trick circumvents [position: sticky] restriction to parent My question was put on hold. Please vote to reopen it!
5
votes
2answers
130 views

How much context is the required minimum?

This question got sparked by a recent discussion in the 2nd Monitor about this question: Golang Map-Reduce Master - Channels. The problem is: How much context is needed to actually review the code in ...
10
votes
1answer
97 views

If porting code, should I also post the original?

Is it on-topic (or acceptable practice) here to post code written in one language, and ported code in another for review ? I am learning scala and in doing so I am translating some code I wrote (in C++...
3
votes
2answers
63 views

Why is my second “Form maximum date/time from some digits” question being down voted?

My question here is getting down votes: Code Vita 7: Form the maximum possible date time in the MM/DD HH:MM format using any eight of twelve given single digits which is a follow up to my previous ...
7
votes
2answers
93 views

How should question bodies be organized?

The format that I know for question bodies is: Intro, often explaining where the problem originated. A problem statement explaining what the code is supposed to do. Perhaps a little more ...
6
votes
2answers
145 views

Need clarification on my close reason interpretation for a specific close reason

The question Does this method guarantee that cells in a CSV will be correctly partitioned? is a duplicate of this one (10k+ and mods only) which asks whether a singular function properly 'escapes' ...
4
votes
1answer
88 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: ...
31
votes
2answers
238 views

Do people read other reviews for learning?

I was looking for posts about self-answering my own code review question, and I saw this post: Why should I be able to answer my own question in the question's editor on Code Review? 3 days ago I ...
3
votes
1answer
148 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 ...
16
votes
2answers
150 views

Should I leave in documentation in code for review?

I'm surprised I can't find this as a question already, so I'm taking a shot and posting... I document my code. I don't not document my code before considering myself done for the day. Most of the ...
4
votes
1answer
109 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 ...
15
votes
1answer
216 views

PSA: Excel going “Not Responding” isn't broken code

Some VBA questions mention the host application (e.g. Excel) is going "not responding" while their macro is running. Is it ok to vote to close these questions as "broken code"?
0
votes
1answer
75 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 ...
2
votes
1answer
28 views

Clojure tag not sorting first

I've noticed that all language tags are sorted first but clojure tag. Is this by design or is there some setting that this tag is missing?
12
votes
3answers
177 views

Why should I be able to answer my own question in the question's editor on Code Review?

I don't get why I am allowed to post an answer to my question in the question's editor: I know from Stack Overflow that this feature exists on Stack Exchange websites. It seems relevant for Stack ...
2
votes
0answers
24 views

Posting multiple questions for the same code at different points in the development [duplicate]

Here's the scenario: I have posted a question on Code Review and received feedback (but not a refactored code). I improve my code based on the advice I was given in this question and added new ...
2
votes
3answers
61 views

Why did this question get closed?

There is a review history for the question where it can be seen that it has been closed several hours after the OP fixed the issue. Why people kept voting if they could see that the reason is not ...
10
votes
2answers
185 views

Is it allowed to edit code if there is no answer?

If I have kept working on the code, and there are no answers (say one week after the original post), am I allowed to edit the code to reflect the changes I have made to it? I believe this question is ...
1
vote
1answer
143 views

has the site became less welcoming…?

I raised a question earlier. Here is a screenshot of it: and the Comments I'd be honest, it is not the best question I've asked so far. But to have a minus 4 for that question? That's weird for a ...
14
votes
3answers
239 views

Making great content more visible

I often browse older questions on CR and while there are many good and helpful answers, every so often I come across great answers. Those are eloquent and full of helpful tips and general information. ...
5
votes
1answer
121 views

Clarification on close reason

This question was closed per the Authorship of code reason. However nothing in the question seems to suggest that it is not written by the OP. Were there maybe (now deleted) comments that made clear ...
2
votes
2answers
75 views

Answering questions in comments

On Code Review SE, users should avoid answering questions in comments, because that's not what comments are for: Do not provide suggestions for improvements in a comment, even if your suggestion ...
2
votes
1answer
50 views

“Password validation” question appears to have been wrongfully closed

I want to question the closing of this question: Password Validation in Python 3.6 The reason given is "Code not implemented or not working as intended". I can see no evidence that the code is ...