Stack Exchange Network

Stack Exchange network consists of 175 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.

-5
votes
1answer
36 views

Create Tag Clean Code

My reputation is too low to create the tag clean-code. I really miss this tag since clean code is a major aspect of code reviews (just nowadays more than in the ...
5
votes
1answer
110 views

Should I continue answering a frequent poster that consistently accepts my answers?

Over the past month or two a user has been frequently posting questions and I, for want of a real life, have been posting reviews to most of them. However the user seams to be predominately accepting ...
7
votes
1answer
100 views

Asker deletes question after posting an answer

Yesterday I answered this question. Today when on my profile I noticed my answer was deleted. This was not a DMCA takedown, and so this meta and this one don't help in this situation. This meta, ...
6
votes
4answers
159 views

The ethics of answering a homework question before it is handed in

I just read through a question that wasn't tagged as homework, however, it asked if it was good enough to show the professor. I added the homework tag and a comment that they shouldn't post the ...
5
votes
1answer
68 views

Should a question poster include the Boost Software License?

In an edit to this question the poster added the Boost Software License text. I think the code subject to the license is in the poster's GitHub repo and not included in the question (it is only ...
5
votes
2answers
119 views

Is an answer that doesn't provide any code review, only how to unit test on-topic?

I ran across this answer which gives no code review feedback only how to write unit tests. If there were some unit tests provided, then they would be fair game for a code review also. In this case it ...
34
votes
2answers
1k views

Why is only my own written code on-topic?

I tend to disagree with point #2 on the Help Center: Did I write that code? I believe any code, written by one self or anyone else should be eligible for code review. Many a times, you're ...
187
votes
1answer
8k views

A guide to Code Review for Stack Overflow users

You're on Stack Overflow and you've found a question that seems to be about improving code. You are trying to be helpful, and you put a comment in the question: You should try asking on CodeReview....
7
votes
1answer
195 views

April Fools' Joke background is bugged

If you check a website, like, Ask Ubuntu, you have the following background: However, on Code Review, you have the following: Would be nice if the background was the same, nice, tiled version :(
41
votes
17answers
4k views

Frequently Posted Comments

On Code Review we often encounter questions with the same kind of problem over and over again. Some of us are using the auto comments script which allows you to maintain a list of comments to post. ...
15
votes
1answer
187 views

Can we have a guide to wonderland? (includes v1)

Request Can we have a 'guide to wonderland' meta. 'Wonderland' is all our rules which mostly consists of lots of different rabbit holes. Rationale When I started on Code Review I spent a good ...
0
votes
0answers
36 views

Merge example code, stub code and insufficient context reasoning into one?

When expanding the guide to wonderland, I'm trying to explain what example code, stub code and context are. When trying to explain why example code is off-topic all I can think of is something like: ...
2
votes
1answer
43 views

Should I ask architectural questions on CodeReview?

In a scenario when I have lots of code or even when I don't have much yet, but the sole problem concerns the code architecture or design pattern etc. should I then ask such question?
12
votes
4answers
186 views

Community Promotion Ads — 2019

2019 is here! And with the new year, as usual, comes a new iteration of Community Promotion Ads! Let’s refresh these for the coming year :) What are Community Promotion Ads? Community Promotion Ads ...
20
votes
1answer
199 views

Complete code rewrite

I came across this question today: Count the ways to partition an array into two equal sets This question can be interpreted in a way, that it asks for a complete rewrite of the code, and indeed ...
1
vote
3answers
65 views

Do we have a blurry scope?

When building the base of 'the guide to wonderland', I've looked through the scope and site-policy tags. But I don't really know what the difference is, and I'm unsure why a significant amount of them ...
18
votes
2answers
419 views

How should we deal with askers fixing off-topic questions when an answer has been posted?

I done a quick search to see if this has been asked, but it didn't seem to be. The intent behind this question is from how this question was handled, but is not limited to it. The situation is an ...
9
votes
2answers
170 views

(Optionally) add Python sub tags to questions

The lack of version tags on some Python questions leads to reviewers having to 'pre-scan' the code to find out if it's Python2.7, Python3, both or neither. This seems strange as, I'd have thought that ...
10
votes
2answers
134 views

Are just data structures enough for a question?

I am getting back in to CodeReview, and was reviewing one of my SEDE queries which pointed me to this question: https://codereview.stackexchange.com/questions/127837/flattened-data-model-and-nosql-...
-1
votes
2answers
83 views

Knowledge-based authentication using Domain-driven Design belongs to Software Engineering

I find the question Knowledge-based authentication using Domain-driven Design in C# should be moved to Software Engineering because the only code that OP has posted is clearly hypothetical, OP even ...
10
votes
1answer
179 views

When is explaining code to its author on topic?

The question Python: My program is unable to perform addition correctly which asked for an explanation as to why the code was buggy was closed as off-topic; I don't know about the last two close ...
9
votes
1answer
105 views

Collecting good comments on Unanswered Questions into a Community Wiki answer

While looking through the list of unanswered questions I found some similar to this one, where the comments provide some well thought insights into the code as well as suggestions for improvement. In ...
9
votes
2answers
202 views

What is “best to the author's knowledge”?

The question has been put on hold with the reason code not implemented or not working as intended. It is a curious case: in fact, the code is implemented, and does work as intended. The OP just didn'...
10
votes
1answer
149 views

Should I answer my own question with the improved code?

More to the point, should I delete this answer? I went through the help center pretty thoroughly and searched on here on Meta and couldn't really find anything that answers that question. The answer ...
12
votes
3answers
151 views

Hot Network Questions Policy

As of recently, moderators have the ability to remove a CR question from the HNQ list. There are times when the hotness formula selects a question that a site would rather not have featured. Up ...
10
votes
3answers
228 views

Are database design reviews in scope?

See this question: Can you peer review my database design for a school system?
8
votes
1answer
51 views

Proposal to clarify “on-topic” help page

The on-topic help page for Code Review is already fairly clear, but I would edit the following bullet point to make it clearer: Best practices and design pattern usage With the current ...
6
votes
1answer
104 views

Given CR's question title policy, how to title a second question about the same program?

Originally asked in 2nd Monitor If we're asking a second CR question involving the same software, is it acceptable to give it nearly the same title? What is best practice for naming these questions?
34
votes
5answers
5k views

My question was closed as being off-topic. What are my options?

I can understand that sometimes questions are closed as being too opinionated, too broad, or unclear, but my question was closed as being off-topic. I have read the On-Topic Help Center page for Code ...
8
votes
1answer
134 views

Does a question with (a lot of) OP response to a posted review qualify for a rollback?

I'm not really sure whether this question where OP has added a lot of feedback about one of the reviews actually qualifies for a rollback. The code is not changed and OP also hasn't added any ...
4
votes
1answer
63 views

How many questions with same script can I ask, if code not only merged reviews but adds new functionality [duplicate]

How many questions with same script can I ask, if code not only merged reviews but adds new functionality? Can I submit part of code(fully working part with new code) together with full code or ...
45
votes
1answer
595 views

25 at twenty-five!

As well as reaching a personal landmark, it's also a site landmark when I became the 25th member to hit 25k reputation yesterday (narrowly beaten to the line by two others - you know who you are). I ...
8
votes
1answer
162 views

A tag for “Universal Windows Platform” that doesn't exceed the 25 character limit?

I noticed that this question's title started out with "UWP", which stands for "Universal Windows Platform". Chances are such questions will become more frequent, and thus it could be useful to have a ...
12
votes
3answers
173 views

Thanking someone for a good code review

Is it appropriate to comment on a good Code Review answer to one of my posts with a "Thank you"?
6
votes
2answers
88 views

Should we close a question of a non existing user? [duplicate]

There is this question in haskell that was originally posted on Stack Overflow but got migrated. The thing is, the user doesn't appear to exist or has been banned. It seems to me that the post will ...
5
votes
4answers
112 views

Are minor edits to old meta questions useful?

That's a view from the "active" page on the Code Review meta. The edits are mostly minor. And some of them are coming from quite old questions, even questions with the status-completed tag. Like ...
2
votes
1answer
55 views

I found a (trivial) solution to my problem after submitting it

About Counting primes in a range whose digits are all prime. My code had a bug, the bug was an edge case that only manifested in literally one of the test cases, (I identified it by completing the ...
18
votes
1answer
152 views

Are machine-learning questions a good fit for CR?

I'm aware of When are Machine Learning questions on-topic?, but I think maybe there's room for discussion regarding the machine-learning tag. I've made a search on the ML tag (because I do not have ...
20
votes
3answers
238 views

Found a serious bug in my question after posting it

What is the correct way to go after I found a bug in a question that I posted? Shall I delete the question, vote to close it or flag it as off-topic?
2
votes
1answer
35 views

Should there be a tag for Python library [requests]?

I recently asked a question where I was interested in if I used the Requests library correctly. To my surprise, when I was adding tags, I didn't see the one for this library. Googling ...
27
votes
26answers
2k views

Tools for format and error checking in your programming language

Lints and Hints: What tools are available for checking and correcting the conventions, style and common errors in my language (lint tools), and are there tools that can automatically fix them (hint ...
8
votes
5answers
127 views

Optimize our meta tags?

First off I should say I'm ignoring the following meta tags: beginner, homework, reinventing-the-wheel, and most with less than 100 views. A short overview of the discussions around these tags is ...
19
votes
4answers
389 views

Punny/Playful Titles Policy

Related: How can we avoid redundant titles? When you ask a question on the main site, the watermarked instructions say: State the task that your code accomplishes. Make your title distinctive. This ...
4
votes
2answers
73 views

Good format to post code for review

I have a project that I used to try out in-memory databases. After fighting it for a few days, I'm code blind and need to have it reviewed. I haven't been on this particular site much (I'm well ...
2
votes
1answer
73 views

Why did this js Fizzbuzz question get so many more views than others?

Why did this recent question: FizzBuzz in Javascript get so many views and, presumably, many more votes (than would be normal)? My initial theory was that it contains the tags fizzbuzz and that tag ...
0
votes
1answer
52 views

Is it ok to post code that didn't work out as intended?

I recently tried to optimize some code by using parallel processing, putting two cores to work on the problem instead of one. For whatever reason, it didn't work. I don't know why, but I doubt much ...
4
votes
1answer
78 views

Review one-by-one feature?

I am writing a library. It is mostly ready, but there are known bugs and ToDo stuff (including for example missing const specifiers for member functions which do ...
7
votes
1answer
122 views

Question about “Polymorphic implementation of == with CRTP” on hold as off topic

I have a question about my Code Review Stack Exchange post: Polymorphic implementation for == with CRTP. It was put on hold as off topic stating (mainly) that the use case is theoretic or not ...
12
votes
2answers
242 views

Unnecessary comments

Should I keep my comments or remove them if they are wrong or no longer serve a purpose under an answer/question? When I remove my comment(s), the other comments (by others) become meaningless. If ...
15
votes
2answers
237 views

Can answers to questions contain only code not the same language?

This is in regards to Solving the Lazy Hobo Riddle. Is it acceptable to have answers that have code written in a different language than the OP's? The OP has since accepted an answer, but others are ...