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
2 votes
1 answer
54 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 ...
14 votes
4 answers
284 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 &...
2 votes
1 answer
75 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, ...
64 votes
5 answers
4k views

Checklist for how to write a good Code Review question

Many questions of new users lack some parts or common style of the site. There already are some meta questions that aggregate tips on this issue but letting new users walk through all of them is ...
2 votes
1 answer
45 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 ...
9 votes
3 answers
118 views

Should I include code or a link to a test project for the code being reviewed?

I have some code (a library) of about 25,000 characters (~1000 lines) that I would like to have reviewed. I have a test project (Windows project with Windows Forms) for that code. Is it a good idea ...
2 votes
1 answer
46 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 ...
13 votes
1 answer
126 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 ...
29 votes
4 answers
2k views

Why is hypothetical example code off-topic for Code Review?

As stated in the Help Center, one of the criteria for a question to be on topic is: Is it actual code from a project rather than pseudo-code or hypothetical code? Details matter! In order to give ...
5 votes
1 answer
58 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 ...
7 votes
1 answer
126 views

Can I ask a question about overall architecture without much specific code?

I have code, but my question is about overall design patterns. Ideally, I would ask a question describing the design decisions made in my project but would have minimal actual code samples. Is this ...
19 votes
3 answers
723 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 ...
19 votes
3 answers
152 views

Posting a multi-language project

I have a small project for which I would like to ask for a code review soon. However, it integrates multiple languages (specifically, Python + jQuery and the rest of the browser stack). Can such a ...
11 votes
1 answer
117 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++...
11 votes
1 answer
163 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 ...
15 votes
1 answer
122 views

Is it okay to post the same Project Euler solution, using the same language, but with a different implementation?

I have come up with my very own Clojure implementation of the solution for Project Euler #2, but I see that someone already solved this particular problem using Clojure and put it up here for code ...
4 votes
2 answers
144 views

Should I ask a separate question?

This examples applies for web mainly, but could apply for other stuff also. Let's say I develop a web plugin that has both JavaScript code and CSS. Should I post one question to review the ...
0 votes
1 answer
45 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 ...
9 votes
1 answer
119 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 ...
8 votes
1 answer
120 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 ...
21 votes
3 answers
423 views

Is it okay to add someone else's linked code to the question?

Some questions link to the code they want reviewed, which is against site policy. Should one edit the code into the question in these cases? The problem I see is that all content on Stack Exchange ...
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 ...
14 votes
1 answer
168 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 ...
4 votes
1 answer
92 views

How should I ask this big 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 ...
12 votes
3 answers
203 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 ...
10 votes
2 answers
153 views

Why was the question too vague?

I'm reasonably new here but wondered why this question got put on hold? The OP asks for a review of the code he had provided as the answer to another post on this site. (He includes a link to the ...
7 votes
1 answer
180 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 ...
35 votes
3 answers
573 views

How well is "malicious" code accepted here?

I recently asked a question that could possibly be used for malicious purposes. I tried to whittle the code down as much as I could to a "base" program so that a script kiddie wouldn't stumble across ...
1 vote
1 answer
72 views

Can I ask questions about where my code went wrong in algorithms and problem solving?

I have recently started solving problems with Python. Many of the programming problems involve complex algorithms and are hard to solve. I need help knowing if the code I've written produces wrong ...
2 votes
1 answer
66 views

Are implemented API reviews without code on-topic?

I've been reading through the various questions asking whether or not API reviews are on topic, but they've left me a bit confused. In particular "Are questions about public interface (API) on topic?"...
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 ...
6 votes
1 answer
74 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. ...
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 ...
14 votes
1 answer
160 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 ...
5 votes
1 answer
78 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 ...
6 votes
1 answer
87 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. ...
6 votes
1 answer
150 views

Is it okay to post a series of exercises massively?

This website seems particularly interesting for users working on a book (like SICP or K&R) or any other series of exercises (like ProjectEuler), especially if they're working on their own and ...
-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 ...
20 votes
3 answers
362 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 ...
14 votes
1 answer
243 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, ...
7 votes
1 answer
58 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 ...
7 votes
1 answer
109 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?
4 votes
1 answer
71 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 ...
21 votes
3 answers
295 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?
6 votes
2 answers
97 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 ...
1 vote
1 answer
60 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 ...
5 votes
1 answer
88 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
167 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 ...