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,547
questions
5
votes
0
answers
51
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.
...
9
votes
1
answer
206
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 ...
-6
votes
4
answers
118
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:
...
50
votes
0
answers
415
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 ...
3
votes
1
answer
131
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?
...
13
votes
1
answer
152
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 ...
8
votes
1
answer
101
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
1
answer
212
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 ...
6
votes
2
answers
238
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?
3
votes
1
answer
106
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
2
answers
163
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
1
answer
277
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 ...
54
votes
5
answers
1k
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. Instead,...
6
votes
3
answers
212
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 ...
8
votes
1
answer
168
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 ...
4
votes
0
answers
34
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....
5
votes
2
answers
119
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):
...
0
votes
2
answers
257
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 ...
0
votes
2
answers
169
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 ...
1
vote
1
answer
62
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
1
answer
64
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"?
11
votes
2
answers
217
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
2
answers
168
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 ...
8
votes
4
answers
505
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 ...
6
votes
1
answer
187
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
1
answer
95
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 ...
-3
votes
1
answer
86
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 ...
4
votes
2
answers
144
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 ...
-6
votes
1
answer
178
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.
6
votes
2
answers
156
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 ...
11
votes
1
answer
119
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++...
4
votes
2
answers
73
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 ...
8
votes
2
answers
104
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 ...
7
votes
1
answer
172
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' ...
5
votes
1
answer
109
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:
...
32
votes
2
answers
301
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 ...
5
votes
1
answer
168
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 ...
19
votes
2
answers
171
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 ...
5
votes
1
answer
127
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 ...
16
votes
1
answer
269
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"?
1
vote
1
answer
99
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 ...
3
votes
1
answer
40
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
3
answers
204
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 ...
3
votes
0
answers
31
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 ...
3
votes
3
answers
88
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 ...
13
votes
2
answers
248
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 ...
2
votes
1
answer
162
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 ...
17
votes
3
answers
265
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. ...
6
votes
1
answer
151
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
2
answers
159
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 ...