Stack Exchange Network

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

2
votes
0answers
21 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
2answers
145 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 ...
5
votes
2answers
129 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 ...
10
votes
1answer
96 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++...
16
votes
2answers
150 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 ...
12
votes
3answers
177 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 ...
4
votes
0answers
41 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 ...
18
votes
3answers
171 views

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

What I’m refering 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
3answers
129 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 ...
17
votes
1answer
294 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 ...
20
votes
1answer
166 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
1answer
176 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 ...
3
votes
0answers
30 views

How can I improve this question about asyncio?

I recently asked this question on Code Review which was ill-received and got 4 close votes for being off-topic. I believe the main problem to be that I used a dummy function for a third party API ...
0
votes
0answers
32 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
1answer
118 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 ...
4
votes
1answer
40 views

How should I ask this question?

I am currently working on one of my first projects with Python and my first project with PyQT. I would like to post this as a question, to see if there are any improvements I can make. The project is ...
5
votes
3answers
64 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 ...
2
votes
1answer
80 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 ...
28
votes
4answers
355 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 ...
2
votes
2answers
98 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
2answers
181 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 ...
7
votes
1answer
141 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 ...
6
votes
0answers
129 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. ...
2
votes
1answer
56 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
1answer
223 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.
3
votes
0answers
41 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
1answer
154 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 ...
27
votes
3answers
224 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 ...
11
votes
2answers
206 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 ...
0
votes
1answer
66 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
4answers
284 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 ...
1
vote
2answers
42 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 ...
24
votes
4answers
552 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
1answer
121 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 ...
16
votes
4answers
355 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 ...
41
votes
12answers
729 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 ...
1
vote
0answers
32 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
2answers
164 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 ...
5
votes
1answer
93 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 ...
11
votes
1answer
67 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'...
9
votes
1answer
64 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 ...
9
votes
1answer
88 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 ...
11
votes
3answers
100 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
1answer
45 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. ...
5
votes
1answer
87 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 ...
18
votes
1answer
126 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 ...
8
votes
1answer
99 views

Posting the same program in three different languages in three different sections [duplicate]

If I made three programs in three different languages, that do the same thing, could I post all three of them and have them connect to one another in order for the review to be successful? Let's say ...
-8
votes
3answers
199 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 ...
32
votes
6answers
422 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? ...
11
votes
3answers
124 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'...