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
5 votes
1 answer
89 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 ...
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. ...
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....
7 votes
2 answers
169 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
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 ...
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
0 answers
50 views

Testing box when asking questions

Would it be possible to have an overt request, perhaps even in its own box, that the Asker provide information about their testing process. Obviously wording up for dispute, but something like: "How ...
-7 votes
3 answers
263 views

Please reconsider the rule: Pseudocode, hypothetical code, or stub code should be replaced by a concrete example?

Related: Why is hypothetical example code off-topic for Code Review? Is pseudo-code alright when asking about performance? The gray areas of Code Review: Hypothetical / Example code My concrete ...
3 votes
3 answers
144 views

Is it OK to ask the same question using a different account?

Is it OK for a user to post a question, receive an answer and then repost the question using a different account? This question was asked yesterday by user 158322. This question with a similar title ...
12 votes
3 answers
497 views

Asking questions - including full code

In my first CR question, I was looking for feedback about my implementation of a graph data structure and an algorithm for depth first traversal, as I am studying these at the moment. Although I ...
16 votes
1 answer
298 views

Is this question popularity normal?

I was on Code Review, asking a question for the first time. I thought my question was good, but it never crossed my mind that it would become popular enough to make it to the hot list. It did, and I ...
8 votes
1 answer
250 views

Where do high-level architecture and design questions go?

The FAQ states this: your question is not about … Higher-level architecture and design of software systems So, where should a high-level design question go?
20 votes
1 answer
176 views

Should I include my testing code?

I recently posted a large chunk of code. It feels like a tall order to code review. I've written a bunch of tests to test my code. Would those tests be useful to the reviewer? I'm not looking for ...
11 votes
1 answer
188 views

How can I fix a question in order to make it adhere to Code Review guidelines?

This was triggered by the handling of the following questions: Simulation of interacting particles Simulating a system of moving points The first one had broken code and thus got put on hold, and ...
0 votes
0 answers
45 views

Can I ask a Code Review question about a Linux kernel patch made by someone else? [duplicate]

I've been following another developer who fixed a bug in the Linux kernel. The developer has posted a patch series hoping it would get reviewed/merged, but he got no response so far. The patches have ...
8 votes
1 answer
129 views

Can I ask to review my ebuild or rpmspec file?

Does the site welcome questions about writing ebuilds, rpmspecs or simular files for advanced package management? While it's relatively easy to come up with a working script, making a high quality ...
7 votes
3 answers
105 views

What to do about "It's asking for more details"?

For a while now we've had "Clippy", which among other things has support for detecting when there's a lot of code posted but not a lot of description. The feature is nice and comes with good ...
3 votes
1 answer
127 views

Text minimum in questions

On all Stack Exchange sites, you can't post answers or questions that are mostly code. You always have to include some text minimum, otherwise you can't post the question. I do understand why this is ...
27 votes
4 answers
401 views

Code Review Clippy

A while back, y'all asked for some warnings for folks asking questions here: What would Clippy say? After thorough review (mostly by animuson & JNat), we've determined that the following warnings ...
10 votes
1 answer
81 views

Can I request reviews of my unittests and where should that go?

In the near future, I'm probably gonna make a sizable post requesting the review of a Python project of mine. While its development hasn't been exactly test-driven, I am crafting the unit tests ...
4 votes
2 answers
179 views

Is it appropriate to ask for review on an entire GitHub repo?

I have a Python application that I created a while back and I'm hoping to have someone with more Python experience than me look over the entire project and let me know if both the structure of the ...
9 votes
2 answers
192 views

Multiple reviews or one big review?

I'm just putting my SQL code out for review: Part 3: Layer 4 Part 3: Layer 3 Part 3: Layer 2 Part 3: Layer 1 Would it have been better to do this in a single review? Or is the style of doing ...
6 votes
1 answer
143 views

Asking questions on evolved code

Sometimes I have a question on a specific class, piece of code, etc. I post the code, get some feedback and make changes as I see necessary. I then may add extra features to the code and it continues ...
5 votes
0 answers
131 views

How to get more attention to my question? [duplicate]

Let me start off by saying I have already read: How can I make my question get more attention? Because of reading that I have edited my question using the linked post to include more description etc. ...
1 vote
1 answer
84 views

Posting a whole project, ready for public review [duplicate]

Say I have an open source project hosted on GitHub or wherever, currently in the public review, testing, and bug reporting phase. The Asking page says: ...feedback on a specific working piece of ...
10 votes
1 answer
241 views

Are you allowed to post incomplete programs that you still want reviewed?

Are you allowed to post incomplete programs that you still want reviewed? I made the start of a battleship game, but I want people's opinion before I finish it.
2 votes
0 answers
46 views

Are questions without "?" valid in codereview? [duplicate]

I'm more active on superuser, but sometimes check vba questions also here. I've noticed that sometimes questions contains description of the code and the code itself, but no actual question is ...
15 votes
1 answer
162 views

If in doubt, post the question on Meta first?

Not for lack of trying, I get downvotes on some questions. And on those questions I nevertheless often get answers. So if I try to delete the question to approach it differently, I get the warning ...
26 votes
3 answers
260 views

Is asking for a review of boiler plate for a minimal repro okay?

For asking and answering questions on Stack Overflow with certain frameworks and libraries I have boilerplate lying around for a minimal repro. I would be interested in getting feedback on my WCF ...
10 votes
2 answers
226 views

How should I post literate code?

Suppose I have a project that is written in a literate format (e.g., emacs org-mode), and I would like to have that code reviewed. What is the preferred way to post the code? Some options that come ...
20 votes
5 answers
409 views

Can we ask reviewers to *not* focus on something?

Our Help Center says: Do I want feedback about any or all facets of the code? However, sometimes we might have some code that we are aware has flaws in it, or we would just for one reason or ...
1 vote
1 answer
85 views

Is it OK to ask how to revise a golfed function?

After reading through a few question on here I found out that asking questions about refining code golf code is not on topic. However in this case I'm not asking for the code to be golfed but re-...
19 votes
4 answers
325 views

How much research effort is expected when posting a Code Review question?

On Stack Overflow, the community consensus for research before asking is: A lot. An absurd amount. More than you think you are capable of. In fact, asking a question on Stack Overflow is the ...
14 votes
3 answers
220 views

Which licenses are compatible with Code Review?

It is should be well known that code posted to Code Review are licensed under CC-BY-SA. I am wondering: Are there any licenses that are compatible with this licensing? Is it possible to use one ...
2 votes
2 answers
49 views

Do I edit my question based on answers? [duplicate]

A very simple question, but I haven't seen whether this is acceptable behaviour here. I do see mention of 'iterative' code reviews, which I assume refers to "post, receive answer(s), edit, answers ...
25 votes
4 answers
732 views

Must the code be "clean"?

I have working code that I want reviewed, but it is not clean. It made the correct output but there are comments and bad names. Is it not ready for review, and must the code be clean to get reviewed ...
6 votes
1 answer
134 views

Is asking a question about doing something a different way on topic here?

I recently asked a question on StackOverflow and eventually ended up self answering it. The solution I came up with is, in my eyes, a bit of a hack. Is a question ...
43 votes
12 answers
931 views

What would Clippy say?

We have a question closure rate of ~30%. That's a significant burden on moderators and users who help triage the questions. While some questions can indeed be very difficult to triage, there are ...
17 votes
4 answers
400 views

Should I be asking shorter questions?

Background I've been meaning to ask this for a while, and this meta question prompted me to finally write something. I've read the answers to that question and the ones to which it links, and the ...
42 votes
1 answer
1k views

How to post a follow-up question?

Sometimes I stumble upon follow-up questions, where code is being posted again after having gone through a review (or two). Examples of possible sets of follow up questions: Find missing numbers - ...
1 vote
0 answers
41 views

Are design questions (with actual code) on-topic? [duplicate]

Suppose I'm working on a particular module in my software. I have a proposed design (possibly already implemented or prototyped) that I want feedback on in a tangible format, such as a Java ...
12 votes
2 answers
187 views

Rehash “How secure is my X” cryptography questions

This has been discussed before about 2 years ago: “How secure…” questions - Code Review vs. Information Security SE but it doesn't appear to have led to anything very conclusive. These questions are ...
7 votes
3 answers
221 views

The Code Review/Programmers/Stack Overflow hot potato

I don't want to cross-post on all metas, so I chose Code Review. This is the current hot potato. So I'm starting to notice that questions are now getting kicked around between sites because each ...
6 votes
1 answer
96 views

How to get feedback over multiple solutions of a particular exercise of a book?

I am self studying C++ from Robert Lafore's OOP in C++. I am solving the exercise questions of chapter-3 loop and decisions. For the first question(say X) I've written three different codes using ...
12 votes
1 answer
75 views

Can I get a Dockerfile reviewed?

I'm in the process of (hopefully) finishing up my first Dockerfile, and I was wondering if I'd be able to post it here, and see if I'm using Docker right, if the commands (it's based on Ubuntu so they'...
8 votes
1 answer
96 views

Can you request review for User Interface code?

I have been working on a software since a while in Java, and started the designing phase of it. I use JavaFX for the GUI, and use FXML for defining Scenes. I want to get the code reviewed which is ...
10 votes
3 answers
117 views

May I post this Huffman tree program with several files?

I have been working on implementing a Huffman tree encoding program in C++ for a hobby for a while now. I just finished up with the code and, since this is a learning project, I would love to put my ...
-1 votes
1 answer
58 views

Is ROBLOX Lua allowed on code review?

I've recently gotten more interest in roblox lua, and I was wondering if code review allows it. Here's an example piece of code I want to share, but I fear that it could be closed as off-topic. ...
16 votes
3 answers
548 views

Does my code example need to be compilable/runnable?

I'm thinking of posting a question here, but am unsure how I should do so. The question is about comparing the performance of a piece of pure Python code vs a hybrid Python/C++ piece of code, glued ...
5 votes
1 answer
94 views

How about including a small amount of example code in a large framework?

I am about to upload a fairly large project of mine, a very flexible component-entity-system. More precisely it's a framework for a CES. It consists of 22 files, ~1000 lines of code and 20000 ...