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.

Filter by
Sorted by
Tagged with
4
votes
1answer
156 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
155 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
114 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
222 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
86 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
31 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?
13
votes
3answers
184 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
25 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
65 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
202 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
150 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 ...
16
votes
3answers
250 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
135 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
117 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
51 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
146 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
161 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
86 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: ...
6
votes
5answers
515 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 ...
26
votes
0answers
425 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 ...
20
votes
3answers
331 views

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

What I’m referring 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
52 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 ...
8
votes
1answer
145 views

Should vote to close for Code Review comments be flagged?

In The accepted answer by durron597 to A guide to Code Review for Stack Overflow users, it is prescribed: Please do not vote to close with a custom reason that "it belongs on Code Review". Some ...
12
votes
4answers
187 views

Handling things that seemingly *every* new writer of a language gets wrong

I've noticed that, for whatever reason, seemingly every new user of Clojure tries to use def to create local variables. I've noticed it here, and on Stack Overflow, ...
6
votes
1answer
95 views

How should we review code written around a template?

It is fairly common for review requests to be for homework or interview practice questions. For example there's a fairly steady stream of python tic-tac-toe games which I'm basically convinced fall ...
5
votes
4answers
331 views

Poor mans count, is it off-topic?

Recently we had the question "Project Euler Problem #12 - Highly divisible triangular number" It was closed as the OP included how to use the function with the function's code. The code as posted ...
7
votes
1answer
137 views

Can I include problem statements when posting exercise solutions to Code Review?

I have several books of programming exercises that I am working through. I would like to post some of my solutions to Code Review. Can I include problem statements along with my solutions without ...
15
votes
1answer
79 views

Can we replace the misleading [unity] tag with a more distinct tag?

Some unity3d (game engine) questions are being accidentally tagged as unity (Microsoft dependency injection container). Can we rename unity to unity-container, and create a tag synonym for unity and ...
2
votes
0answers
41 views

Posting very simple questions as exemplars [duplicate]

I noticed a couple things that have been pointed out repeatedly. Having an exemplar of that single issue (not a bunch of issues in a long piece of code) can be pointed back to along with a simple ...
14
votes
2answers
229 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 ...
5
votes
1answer
55 views

Can I ask for code review of a relatively small open source project I created on GitHub? [duplicate]

I created a small project on GitHub for creating a mask for a 3D UV resin printer (using DLP technique) to have a homogenously light intensity across the build area. Although it is small, I like to ...
2
votes
1answer
57 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 ...
8
votes
1answer
203 views

Are we allowed to post questions that allow you to do something that may be against the Terms and Conditions of another software?

I've developed a batch file that automates the steps a human would have to take to install the bypasser for a certain software protection. The batch file only checks where to put the files and does ...
11
votes
4answers
199 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
208 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 ...
3
votes
1answer
118 views

How can I improve this off-topic question about downloading anonymous type data?

My question is flagged as off-topic: Lacks concrete context. How can I improve this question? The //... in the edit history is added to tell viewers that it ...
12
votes
2answers
186 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 ...
2
votes
4answers
92 views

Should answers refrain from referring to other answers on the same question?

Reviews don't pile up at the same time. Whereas Alice was already awake when Charlie's question was posted and wrote an excellent review first, Bob took a longer nap, had a coffee, and then noticed ...
12
votes
2answers
132 views

What more context can you provide about a one-liner macro?

The question about NOT macro: is this bad practice has been closed for not providing concrete context. But what else could OP have written to make it on-topic? OP also explained why he likes this ...
13
votes
1answer
179 views

Is it ok to review the code of an acquaintance?

This post was posted by an acquaintance with whom I am directly related. I'm helping her ramp up on Python. Usually, I wait for the community to answer the questions posted by her (since it gets her ...
30
votes
2answers
243 views

2018 Community Moderator Election Results

Code Review's second moderator election has come to a close, the votes have been tallied, and the 3 new moderators are: They'll be joining the existing crew shortly — please thank them for ...
-5
votes
3answers
101 views

Question closures under PHP tag and and thin pretexts

Recently a question has been closed, with a reason "Code not implemented or not working as intended". However, the code (however as silly as it is) is fully implemented and working the OP asked ...
0
votes
4answers
85 views

Confusing phrasing of the “off-topic” close reason

Before asking my last question, I've double checked what counts as off-topic and on-topic in this SE. According to my findings: We require that the code be working correctly, to the best of the ...
6
votes
1answer
161 views

Why was “Binding a keyboard key to a Tkinter button” closed?

This question was asked here about an hour ago. @Mast was kind enough to explain what was wrong with the first revision and pointed OP to the help center. OP then revised the question (revision 2) to ...
9
votes
2answers
219 views

“unclear what you're asking” vs “Lacks concrete context”

Aren't these two close reasons too similar? Since the Lacks concrete context exists I cannot remember using the unclear what you're asking anymore. unclear what you're asking Please clarify your ...
6
votes
2answers
93 views

Is adding a single tag enough to constitute a meaningful edit?

Just now, it appears that the Suggested Edits review queue is full to the brim with a single user adding the performance tag to a lot of questions while leaving the content otherwise untouched. I ...
10
votes
1answer
151 views

“Flood” of “Doing something in [language]” titles

I always thought that questions containing a language tag in the title should be cleaned-up as discussed in Should name of programming language be in the title of a question? Apparently I'm the only ...
9
votes
2answers
166 views

2018 Moderator Candidate's Recent Activity

Q: Is the recentness of a user's site activity relevant to their candidacy for moderator? (Nominations) (Candidate's Answers) I collected some data for a simple metric for this election, and thought ...
9
votes
1answer
176 views

What is the purpose of this weird duck?

I noticed (only today) whenever I visit any SE website, I get this weird comic on bottom of page: For a short while, I was wondering if my browser has been comprised by some web malware, so I decided ...
10
votes
1answer
88 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 ...