The Stack Overflow podcast is back! Listen to an interview with our new CEO.

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
24
votes
4answers
579 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
122 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
368 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 ...
0
votes
1answer
57 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 ...
43
votes
12answers
806 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
35 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 ...
13
votes
2answers
180 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
94 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
68 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
91 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
103 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
47 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
132 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 ...
10
votes
1answer
123 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 ...
-7
votes
3answers
222 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 ...
33
votes
6answers
499 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
138 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'...
8
votes
2answers
126 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 ...
7
votes
1answer
65 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 ...
9
votes
2answers
96 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
3answers
167 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 ...
10
votes
3answers
108 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
3answers
83 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 ...
4
votes
1answer
62 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 ...
11
votes
1answer
98 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-...
11
votes
5answers
98 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 ...
14
votes
1answer
88 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 ...
6
votes
1answer
104 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 ...
12
votes
2answers
121 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 ...
8
votes
1answer
112 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 ...
1
vote
1answer
57 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 ...
14
votes
2answers
162 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 ...
20
votes
5answers
381 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 ...
25
votes
4answers
194 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 ...
9
votes
1answer
261 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 ...
21
votes
9answers
254 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 ...
6
votes
3answers
209 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 ...
1
vote
0answers
58 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
3answers
194 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 ...
13
votes
3answers
190 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 ...
24
votes
2answers
180 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 ...
12
votes
6answers
249 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 ...
15
votes
2answers
112 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 ...
6
votes
1answer
91 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
1answer
160 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 ...
16
votes
2answers
230 views

Are we allowed to ask questions about just regular expressions?

Are we allowed to ask questions just about regular expressions?
17
votes
2answers
123 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 ...
15
votes
2answers
262 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 ...