As of May 31, 2023, we have updated our Code of Conduct.

Questions tagged [asking-questions]

This tag is for questions specifically about the process of asking questions on Code Review; e.g. how to ask, whether specific questions are appropriate, etc.

Filter by
Sorted by
Tagged with
22 votes
1 answer
160 views

Does preventing exact duplicate titles makes sense here?

When editing the title of Multiple FizzBuzz from a file, I first wanted to make the title "FizzBuzz from a file" but that exact title already exists which showed an error message: Considering our ...
35 votes
6 answers
605 views

Is code ever clean enough? - Can there be too many follow-up questions?

Some posts can at times have several follow-up questions, sometimes a couple of follow-up questions on the same day. All this brings us to the question of Can there be too many follow-up questions? ...
9 votes
1 answer
117 views

Provide links to official style guides when writing questions

The answers to many questions tagged python on CodeReview start with or otherwise include references to PEP-0008, the official Python Style Guide. Many reviews include comments on use of whitespace (e....
8 votes
2 answers
141 views

How can we work to prevent off-topic questions?

I seem to notice while browsing the questions list that there always seems to be a question or two containing some reason (almost always broken code) for it to be put on hold. From the last hour as of ...
11 votes
3 answers
147 views

What is the best way to ask about distinct aspects of a project?

I have a project that I've undertaken to better understand several distinct aspects of the language and system I'm learning and am wondering what the best approach to asking about these aspects is. I'...
14 votes
1 answer
97 views

Should a warning be displayed when writing a question with no code?

On SO, if I include the words "best practice" in the title of a question, I get a message before I even submit the question warning me that the question appears subjective and may be closed. Could we ...
7 votes
1 answer
68 views

Design for a question about thread abortion and related process

I posted a question for Code Review, and other than a few comments, what I was told was that I should put actual code of the process and people were only interested in knowing that. What I really ...
24 votes
2 answers
185 views

Can I use CR as an environment to foster an open source project?

Let's suppose that I have a personal project which I think might interest more people, and given my low position in the learning curve, want to make it open source. Besides posting pieces of code in ...
8 votes
2 answers
105 views

What is the take on getting older (possibly obsolete) languages reviewed?

Specifically, I want to address languages from the era of 8-bit home computing. Such languages could include: 6502 Assembly 6800 Assembly 8080 Assembly Commodore BASIC etc... These languages are ...
16 votes
3 answers
176 views

Will a question be downvoted for poor code?

I am kind of new to Code Review SE (I only have two questions), and am trying to understand the site. I recently came across this question with three downvotes. For the most part, It seems that it is ...
12 votes
3 answers
124 views

Can I ask the same question with a different language?

I am wondering if it would be bad to ask for the same code review, just under a different language. For example: Hypothetically I post a question asking for a code review of my Ruby "Hello World" ...
8 votes
2 answers
170 views

Having an entire project reviewed

I have a small project I'm working on in an area I'm not comfortable with (web development). I would like someone to review my code. I can try to split it up, but I would prefer if someone looked at ...
4 votes
1 answer
65 views

Why did a question about unit-testing get migrated?

I'm curious as to why this question got migrated to Stack Overflow, mostly so I can ask in the correct place in the future. It's about unit testing a functioning python module, the unit tests all ...
10 votes
1 answer
104 views

Little applet for elo rating system

I have written a bit of Python code with Tkinter to make a small applet to allow people to enter game scores and keep track of their rating (using the elo rating system). I have an initial meta-...
13 votes
2 answers
133 views

Should Code Review's related questions say they "may already have your answer"?

On Stack Overflow itself it makes perfect sense to link to similar questions and say that the user might get better results from searching those results first and can likely find their problem already ...
29 votes
1 answer
508 views

What makes a good question? [duplicate]

I think it would be a good idea to compile a list of guidelines on how to ask good question. What information should be present, how to structure it, etc.
10 votes
5 answers
108 views

Please provide me feedback on my badly received questions

Two of my questions were down-voted as -3 and -4. I couldn't understand the problem with them. But if at-least 3 people are down-voting something is bad with them. Nobody commented or answered or ...
6 votes
1 answer
120 views

Asking questions with UML diagrams instead of code [duplicate]

Can I ask a question with a UML class diagram instead of code? What about instead of some code? The kind of questions I'm interested in asking are about software architecture, not low-level coding ...
9 votes
1 answer
124 views

Major bugs caught in questions

I wrote a question, but forgot to thoroughly re-test my code after I made a modification and before I posted the question. I was notified of a major bug by mjolka (thank you!) in chat, such a major ...
15 votes
2 answers
173 views

Questions that are "I did this, it seems to work, how did I do?"

I've been an active member of StackOverflow for more than two years, and have a decent amount of rep on some other SE sites like Programmers, Code Golf and here. But the one type of question that ...
21 votes
5 answers
390 views

Is it too easy to post your code for review?

Our current situation: We are getting 34 questions per day We are getting more and more unanswered questions We are still on a mission I feel that we multiple times per day get questions that are a ...
1 vote
1 answer
61 views

Can you ask for a review on code of a self-created language? [duplicate]

If one were to create their own language and documentation for the language, could they ask for a review on code they have written in their language as long as they provided a link or inline ...
18 votes
4 answers
377 views

Should comparisons of code snippets be closed as "not seeking a code review"?

I've been seeing some "A vs. B" questions for a while, and I'm not sure if they're considered on-topic for this site. Many of these questions are not asking for a review, but which code snippet is ...
25 votes
4 answers
204 views

Can we rename "Ask question"?

A recent "question" (will probably be deleted when you click it) made me realize: The "Ask Question" label on Code Review can be a bit misleading here. Code Review questions are expected to contain ...
7 votes
2 answers
207 views

Is it okay to ask which snippet is considered the most clean?

Is it on-topic to ask a question with two more or less equivalent snippets, and ask which of the two snippets is considered the most clean? The way I see it, there are four possible answers here: ...
20 votes
9 answers
259 views

Help spot deficiencies in our Help Center

Regular participants will be familiar with procedures and practices on Code Review. For example, we have rules against asking hypothetical questions appending to or modifying the question after ...
8 votes
1 answer
272 views

How can I ask interesting questions as a beginner?

Here at Code Review, we, the reviewers volunteering our time, are deciding to use our time to focus on improving something we found on this site. Because of this, questions must be interesting. It is ...
14 votes
2 answers
121 views

Insufficient "How to ask"

As a newbie coming to CR and asking the very first question you can see There's nothing about broken code there and many new questions seem to get closed quickly because of it. Moreover, it names no ...
1 vote
0 answers
68 views

Is it advisable to share the link of the entire project on Code Review? [duplicate]

I would like someone to review a small PHP project of mine - the entire source code of which has been uploaded on Github. Is it advisable to share the link of the entire project here on Code Review?
18 votes
3 answers
210 views

I've observed many toy/homework questions

It appears that many review requests are for toy or homework examples (e.g. FizzBuzz). Is this observation correct or am I mistaken? If observed correctly, I have the following questions: Is it good ...
12 votes
6 answers
265 views

Does this open the door for chameleon questions?

Obj-C wrapper for OpenLDAP The user originally posted the top half of the code there. An answer was posted. After the answer had upvotes and a comment from the questioner (noting his appreciation ...
13 votes
2 answers
149 views

Is asking for review of 3rd party code ok?

Most code people are posting here seems to be code they have written themselves. In this question the OP asked basically for a review of three 3rd party scripts. I'm not sure that this question is a ...
6 votes
1 answer
103 views

How can I improve this question?

I'm referring to this question: SQL-Server Merge Statement with .NET DataTable I've given it a couple days to see what happened after I asked it initially. There's been very little traffic, no votes ...
16 votes
1 answer
187 views

Tagging: C++ vs C

I've noticed more and more questions recently having their posts tagged with C++ both c++ and c. A couple examples that I have recently handled myself: Karatsuba C++ implementation Passing objects ...
10 votes
1 answer
234 views

Should mostly working but a little bit broken code stay or be deleted?

I posted the question Parsing structured text in Java At first I thought it was working, later I have found a bug in the code. Should it stay or should it be deleted? Update: I have fixed the bug in ...
16 votes
2 answers
270 views

Are we allowed to ask questions about just regular expressions?

Are we allowed to ask questions just about regular expressions?
16 votes
2 answers
282 views

Stop mentioning major concerns in title

On the Ask a Question page, users are currently faced with this: state the purpose of your code, and mention any major concerns. I have recently started commenting on many questions with this ...
17 votes
2 answers
131 views

May I ask a question about legacy code, where I don't intend to implement advice given by CR?

One of the checklist items for an on-topic question is: Do I want feedback about any or all facets of the code? I have considered posting old code to CR which I think would spur useful discussion ...
6 votes
0 answers
66 views

Are questions that ask *not* to offer readability/style/structure advice, on topic? [duplicate]

The question in question: A platform-independent implementation of "which" in Ruby The OP has rather specifically asked that people not talk about how to improve the readability of the code ...
5 votes
1 answer
76 views

How to deal with homework questions without question? [duplicate]

The question in question (no pun intended): Cutting stock recursion OP basically dumped the problem definition and a solution on us. There is no indication to if the code actually works, it is ...
5 votes
1 answer
92 views

Questions about speed/memory comparisons

This question should be considered as an expansion discussion on the policy discussed in Should comparisons of code snippets be closed as "not seeking a code review"? For comparative ...
19 votes
3 answers
222 views

Reviewing AI based on how it performs

On Code Golf is is common to see a king-of-the-hill question where you have to implement an AI based on the rules given in the question. So then I got to thinking - "If I developed an AI for one of ...
3 votes
0 answers
62 views

My code with a small set of classes may be too much [duplicate]

I have a small set of classes that form an events system that I would very much like opinions on, but they're made up of a few classes that together amount to around 1kloc. I'm a little worried that ...
8 votes
2 answers
174 views

Can we answer these Javascript/CSS3 performance questions?

I've seen that lately the amount of questions regarding performance issues when using Javascript, jQuery, CSS3, etc. has increased. Question is: Can we actually review them? I'm edging towards no, ...
17 votes
4 answers
145 views

Can we require questions to have at least one language tag?

We are getting a low amount of questions every day which are not tagged with a language. I believe we can could prevent this if we make adding a language required. Is there a possibility to add this ...
25 votes
5 answers
352 views

Do one-liners and other narrowed-down code qualify for a code review?

Every once in a blue moon, a question gets posted (often as a new user's first post) where the OP is asking a quite specific question about very minimalistic code, for example: ...
5 votes
1 answer
108 views

Is a question mostly pertaining to build configuration appropriate for this site?

I'm currently creating a somewhat complex Maven project (specifically, to automate this answer), and hence would like to submit it for review here - specifically, the POM and the general structure of ...
9 votes
3 answers
137 views

Proper way to ask best practices questions

https://codereview.stackexchange.com/questions/37601/how-bad-is-duplicating-a-code-block This got closed as off-topic. I read the help center and from it I concluded that rather than present possible ...
14 votes
1 answer
257 views

How should one deal with code asking "Is this correct?" when it is in fact correct?

I'm wondering what a good guideline is when dealing with questions asking (primarily or completely) about correctness. Generally this is not what Code Review is about. However, when the code is ...
14 votes
3 answers
161 views

"How secure..." questions - Code Review vs. Information Security SE

Recently I have seen a whole lot of questions in the form of "How secure is this hashing", "How secure is my keygen?", "How secure is my form?". We do have a quite popular security tag, with 159 ...