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
7 votes
3 answers
111 views

How should I include resources (images, videos, audio, etc) in questions?

I know my code doesn't have to be complete. However, in my specific case I have a project where I'd like to focus on performance improvements. Some optimizations are obvious, where others require ...
davidalayachew's user avatar
0 votes
1 answer
53 views

Comparative Code Review [duplicate]

I manage a team of Java Engineer so I have recently been exposed to the "Builder" pattern that they use. It helps when you have a large number of parameters in a constructor were a lot of ...
Martin York's user avatar
  • 93.9k
1 vote
1 answer
46 views

Reviewing Git commit messages alongside code

Recently, I have started using Git regularly for both my projects at work and my small personal projects. I was wondering if it would be acceptable to request Git commit message reviews alongside the ...
x27ca61a's user avatar
  • 307
5 votes
2 answers
131 views

Should Code Review improve the new-question Title hint?

I would like to suggest a UX improvement for new users, so they're less likely to encounter edits / pushback from mods. 1. Summarize the problem Code Review posters are typically new users. ...
J_H's user avatar
  • 13.8k
2 votes
1 answer
93 views

Are 'follow up' questions on the same/similar code allowed?

I had a code that I submitted here for review, and got a review. Good. But the implementation was primitive, and I have since written a new, more refined implementation, but the concept/intended ...
user16217248's user avatar
13 votes
1 answer
238 views

May I post a question whose code is written in a programming language about which nothing exists in Code Review Stack Exchange?

May I post a question whose code is written in a programming language about which nothing exists in Code Review Stack Exchange? For example, Asymptote is a vector graphics programming language which, ...
User's user avatar
  • 140
6 votes
1 answer
210 views

Do questions require specific problems, or are general reviews on-topic?

I have read; the Tour, What not to ask and How to ask a good question. I am unsure whether questions should specify specific problems, or if I should specify parts of the code where improvement is ...
user16217248's user avatar
2 votes
1 answer
209 views

What is the recommended length of the code for review?

I have code that is about 1000 lines long (and growing, as some features are not yet implemented and some edge cases unhandled), so posting it here likely would overwhelm people, even if it would be ...
reducing activity's user avatar
15 votes
4 answers
310 views

Hide the "describe what you've tried" bullet (new askers' modal)

Our new asker's modal has the three bullets: Summarize the problem Provide details and any research When appropriate, describe what you've tried We are able to remove the third bullet point (see &...
Toby Speight's user avatar
  • 70.8k
2 votes
1 answer
55 views

How do I post code which is reliant on large file IO operations?

I have code which does IO operations (read and process) on large files (multi GB or sometimes TB). It is not practical for me to post real examples to stackexchange and I would not want to post code ...
tgpz's user avatar
  • 69
3 votes
1 answer
115 views

Asking multiple questions about the same code

I'm preparing to write a question for Code Review. I've written a generic GNU makefile, with the idea that it can be applied to all kinds of C++ projects with different directory structures, etc. My, ...
Lozminda's user avatar
2 votes
1 answer
66 views

Is it OK to ask for review on exercise solutions that have been asked previously?

I'm learning Rust and solve the problems/exercises from the book of Rust which have been solved by thousands of learners and posted on here by quite a few. Last time I posted my code I received quite ...
user1984's user avatar
  • 123
13 votes
1 answer
161 views

Are Advent Of Code questions on topic once we receive no points for them?

I'm trying to learn Rust via Advent of Code 2021, and am obviously hitting various roadblocks and solving them via Google. It would be great if someone could review my code to see how to make it fit ...
Gaurang Tandon's user avatar
5 votes
1 answer
69 views

What makes a CSS question opinion based or not?

Since CSS is about the aesthetical layout of a web page, I guess it's easy to ask opinion based questions. I guess that asking about reusability of some CSS code would not be opinion-based. On the ...
Enlico's user avatar
  • 547
0 votes
1 answer
49 views

Seeking project wide input rather than modification of individual pieces of code [duplicate]

Does Code Review allow for posting (or linking to) entire projects? I'm not sure if this helps at all, but in my case, I am not looking for generic input, but rather I have a specific question about ...
qwerty's user avatar
  • 351
9 votes
1 answer
123 views

Can I ask a question about a custom scripting language?

I recently asked a question and was reminded that pseudocode is not allowed on this site; I translated it because I felt the original code would have been confusing. The reason being that the ...
Setsu's user avatar
  • 205
8 votes
1 answer
131 views

Are questions mostly unrelated to the presented code on-topic?

So we had an argument whether this question is on topic: RESTful movie shop I see this question as off-topic although it seems to satisfy most rules. There's code. It works. It's real... But the ...
slepic's user avatar
  • 5,357
19 votes
3 answers
735 views

Let's update the modal for new askers

The Issue There are many posts on CR that are off-topic for various reasons... Sometimes 10-20 per day! Apparently many users don't read/heed the text on the right side (i.e. "Your question must ...
Sᴀᴍ Onᴇᴌᴀ's user avatar
14 votes
1 answer
176 views

Clarifying Code Review Scope

I just checked the How to Ask, What types of questions should I avoid asking? and What topics can I ask about here?, but I'm confused about the working code part. Quoting from What topics can I ask ...
Mukyuu's user avatar
  • 101
7 votes
1 answer
198 views

Requesting a comparative review of own code with third-party code

A user recently posted this question which-set-of-code-is-more-accurate where they ask for a comparative review between their code and code written by a third-party, hosted on GitHub. My question is ...
dfhwze's user avatar
  • 13.9k
3 votes
1 answer
56 views

Is the review of vocabulary/ontology use (e.g., for HTML structured data) on-topic?

In HTML, structured data is typically added with the syntaxes JSON-LD, Microdata or RDFa. The review of the syntax use is clearly on-topic, just like the use of plain HTML is. But what about the ...
unor's user avatar
  • 2,593
6 votes
1 answer
76 views

Put on-hold and off topic 2 time

I have a question about my Code Review Stack Exchange post: Driver for Sensor payload Decoder I have been trying to get some suggestions on the code which I have written after learning about drivers. ...
Hemanth's user avatar
  • 61
4 votes
1 answer
69 views

Non-HTTPS, wrong hostname links in sidebar

The sidebar on https://codereview.stackexchange.com/questions/ask links to http://meta.stackexchange.com/q/129598. Visiting this ...
l0b0's user avatar
  • 8,887
14 votes
1 answer
162 views

Small portion of reviewable code isn't mine, but credited

I recently asked this question. I looked around, but it doesn't look like my problem has been asked here: A small (9 SLOC) portion of my code is an equation from a user on Stackoverflow. I credit the ...
Linny's user avatar
  • 9,948
5 votes
1 answer
79 views

Multiple related question titles

I am creating a programming language, Linny, and have asked two questions (First Question Here, Second Question Here). As I continue to improve the language, I intend on asking more questions to ...
Linny's user avatar
  • 9,948
6 votes
1 answer
88 views

Is it okay to post questions that don't contain a full program/library?

For example, say I wanted to ask a question about memory efficiency regarding two versions of a structure I have in a specific language, but I'm only concerned about that one section of the program. ...
Braden Best's user avatar
-2 votes
2 answers
72 views

Code review of YouTube video

I have a YouTube playlist that I have created showing my iterative approach on a subject ("C# CUSTOM Script Language Creation"). I know that sites like this one have some limitations as to what is ...
Rick Riggs's user avatar
14 votes
1 answer
252 views

Policy regarding "flooding" Code Review with questions

There seem to be a few users which "flood" Code Review with questions recently (2 to 4 questions in rapid succession). They often present relatively small pieces of code, allegedly from homework, ...
AlexV's user avatar
  • 7,234
7 votes
1 answer
59 views

How do I properly write a question that involves third-party libraries?

I am preparing to submit a small OpenGL program for review. I've included some source files from this GitHub repo to handle some image stuff I don't want to deal with. I'm not asking for a review of ...
User319's user avatar
  • 1,132
4 votes
1 answer
74 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 ...
LeonidMew's user avatar
  • 169
7 votes
1 answer
113 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?
puzzlepiece87's user avatar
21 votes
3 answers
317 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?
Richard Neumann's user avatar
1 vote
1 answer
63 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 ...
George Barwood's user avatar
6 votes
2 answers
102 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 ...
Konrad Viltersten's user avatar
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 ...
porton's user avatar
  • 101
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. ...
alecxe's user avatar
  • 17.2k
4 votes
0 answers
35 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....
DylanSp's user avatar
  • 203
7 votes
2 answers
172 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 ...
FreezePhoenix's user avatar
6 votes
2 answers
157 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 ...
hoffmale's user avatar
  • 6,458
11 votes
1 answer
120 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++...
Robert Long's user avatar
19 votes
2 answers
172 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 ...
jonspaceharper's user avatar
12 votes
3 answers
204 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 ...
Ivan's user avatar
  • 450
5 votes
0 answers
51 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 ...
Josiah's user avatar
  • 5,966
20 votes
3 answers
370 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 ...
301_Moved_Permanently's user avatar
3 votes
3 answers
145 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 ...
Mark Fitzgerald's user avatar
16 votes
1 answer
299 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 ...
gsquaredxc's user avatar
20 votes
1 answer
177 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 ...
Nathan Merrill's user avatar
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 ...
hoffmale's user avatar
  • 6,458
5 votes
0 answers
47 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 ...
magu_'s user avatar
  • 948
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 ...
Marc.2377's user avatar
  • 156