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.

-1
votes
0answers
17 views

Generalised examples, library related questions, error prone solutions in question of improvement [duplicate]

I am unsure whenever this is the right platform for problems with real code, where it's very unpractical to include the whole context and it's major points can be very easy generalised. For example ...
1
vote
1answer
52 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 ...
6
votes
2answers
95 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 ...
3
votes
1answer
155 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 ...
34
votes
5answers
460 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
185 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
147 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
91 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
203 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 ...
0
votes
2answers
124 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
172 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
145 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
484 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
45 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
129 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
96 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
144 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
236 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
146 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
60 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
236 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
119 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
74 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 ...
3
votes
2answers
142 views

Unmodified question looks modified

This is maybe the fourth time I noticed this scenario since the start of this year, so I am curious to know if you have an explanation: When I clicked on Questions, I saw this: But when I clicked to ...
6
votes
2answers
152 views

Make constexpr synonym to a new tag, constant-expression

I'm proposing creating a new tag, constant-expression, and then making constexpr a synonym for constant-expression, rather than constants. Constant expression in C++ requires different usage of ...
2
votes
2answers
78 views

Not notified of unwanted edits to question

I was surprised to see one of my questions being changed that much that the intent of the question was removed from it. As C++ is evolving rapidly, I was experimenting with one of its features: ...
5
votes
5answers
465 views

What's the best way to change how my code looks?

A long time ago the question avoiding Python multiline string indentation was asked. The question was well received with a score of 66 and 16 favourites. It was even answered by one of our previous ...
27
votes
0answers
416 views

Playing our home-made games!

As developers we know that it's not always easy to get people to play the games that we make. We also know that it's not always easy to find motivation to work on the games you want to make. This is ...
18
votes
3answers
171 views

Should we censor rude language in comments/strings of posted code?

What I’m refering to mostly started with this edit where strong language that possibly originated as a joke from the OP was flagged as rude and removed from the question entirely. The code in the ...
2
votes
1answer
51 views

I changed my question after comments

I closed an earlier post asking for code-feedback on the Click CLI framework I wrote for my scripts. I reopened the question simply about my approach to templating scripts. I rewrote the post as an ...