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
20 votes
9 answers
257 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 ...
user avatar
7 votes
3 answers
217 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 ...
user avatar
1 vote
0 answers
67 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?
user avatar
18 votes
3 answers
207 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 ...
user avatar
14 votes
3 answers
216 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 ...
user avatar
24 votes
2 answers
185 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 ...
user avatar
12 votes
6 answers
264 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 ...
user avatar
  • 25.2k
14 votes
2 answers
121 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 ...
user avatar
  • 13.4k
6 votes
1 answer
103 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 ...
user avatar
16 votes
1 answer
187 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 ...
user avatar
  • 21.7k
16 votes
2 answers
264 views

Are we allowed to ask questions about just regular expressions?

Are we allowed to ask questions just about regular expressions?
user avatar
17 votes
2 answers
131 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 ...
user avatar
16 votes
2 answers
279 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 ...
user avatar
6 votes
0 answers
66 views

Are questions that ask *not* to offer readability/style/structure advice, on topic? [duplicate]

The question in question: A platform-independent implementation of "which" in Ruby The OP has rather specifically asked that people not talk about how to improve the readability of the code ...
user avatar
  • 3,112
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 ...
user avatar
80 votes
4 answers
9k views

How to get the best value out of Code Review - Asking Questions

I have a project I am working on, and I would like some, or all of it reviewed, how can I ask for this review on Code Review in a way that produces the best possible value? This is not about a ...
5 votes
1 answer
76 views

How to deal with homework questions without question? [duplicate]

The question in question (no pun intended): Cutting stock recursion OP basically dumped the problem definition and a solution on us. There is no indication to if the code actually works, it is ...
user avatar
  • 16.4k
19 votes
3 answers
217 views

Reviewing AI based on how it performs

On Code Golf is is common to see a king-of-the-hill question where you have to implement an AI based on the rules given in the question. So then I got to thinking - "If I developed an AI for one of ...
user avatar
  • 21.7k
3 votes
0 answers
62 views

My code with a small set of classes may be too much [duplicate]

I have a small set of classes that form an events system that I would very much like opinions on, but they're made up of a few classes that together amount to around 1kloc. I'm a little worried that ...
user avatar
5 votes
1 answer
91 views

Questions about speed/memory comparisons

This question should be considered as an expansion discussion on the policy discussed in Should comparisons of code snippets be closed as "not seeking a code review"? For comparative ...
user avatar
  • 25.2k
8 votes
2 answers
173 views

Can we answer these Javascript/CSS3 performance questions?

I've seen that lately the amount of questions regarding performance issues when using Javascript, jQuery, CSS3, etc. has increased. Question is: Can we actually review them? I'm edging towards no, ...
user avatar
  • 10.6k
17 votes
4 answers
145 views

Can we require questions to have at least one language tag?

We are getting a low amount of questions every day which are not tagged with a language. I believe we can could prevent this if we make adding a language required. Is there a possibility to add this ...
user avatar
  • 10.6k
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 ...
user avatar
  • 131
17 votes
2 answers
580 views

Should [programming-challenge] questions require a summary of the challenge?

Project Euler has been offline for several days, after the site was hacked. Problem is, a large number of our questions relate to Project Euler, and many of them do not contain any description of the ...
user avatar
9 votes
1 answer
116 views

Provide links to official style guides when writing questions

The answers to many questions tagged python on CodeReview start with or otherwise include references to PEP-0008, the official Python Style Guide. Many reviews include comments on use of whitespace (e....
user avatar
  • 13.8k
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 ...
user avatar
  • 878
9 votes
2 answers
128 views

Reviewing software, not only code

I'm looking for some people/community who are doing each others' software reviews, but not only code. Actually code is the least important. I would like somebody look at my software as a whole and ...
user avatar
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 ...
user avatar
7 votes
1 answer
86 views

Asking for comparison of design of two code snippets giving same functionality

I had asked for the review of the part of a jQuery and as per the answer I made changes in the file. Now after making the changes (mainly moving from triggers to functions) I am not so sure whether I ...
user avatar
  • 2,269
19 votes
5 answers
405 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 ...
user avatar
12 votes
3 answers
486 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 ...
user avatar
5 votes
1 answer
100 views

How should really big code challenge submissions be reviewed? [duplicate]

As far as I am aware, a question consisting of a really big codebase is generally off-topic here, as our answerers are simply not able to put so much effort in it. I'd like to talk about a special ...
user avatar
  • 10.6k
18 votes
4 answers
374 views

Should comparisons of code snippets be closed as "not seeking a code review"?

I've been seeing some "A vs. B" questions for a while, and I'm not sure if they're considered on-topic for this site. Many of these questions are not asking for a review, but which code snippet is ...
user avatar
  • 34.7k
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 ...
9 votes
1 answer
71 views

Ask for review on JavaScript code style/structure, usage of patterns, and general quality of the solution

I have code I want to get reviews for. It's not a particular problem, and the code actually works wonders. I just want to see what other experts can suggest in order to make it better, improve style,...
user avatar
25 votes
5 answers
348 views

Do one-liners and other narrowed-down code qualify for a code review?

Every once in a blue moon, a question gets posted (often as a new user's first post) where the OP is asking a quite specific question about very minimalistic code, for example: ...
user avatar
15 votes
4 answers
109 views

Questions about documentation

Are questions about writing/improving documentation appropriate and on-topic for Code Review? And if so, should there be a documentation tag? Let's be clear--I'm not talking about questions seeking ...
user avatar
  • 25.2k
14 votes
3 answers
159 views

"How secure..." questions - Code Review vs. Information Security SE

Recently I have seen a whole lot of questions in the form of "How secure is this hashing", "How secure is my keygen?", "How secure is my form?". We do have a quite popular security tag, with 159 ...
user avatar
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 ...
user avatar
  • 21.7k
6 votes
3 answers
90 views

Are questions on design only requiring minimal code off topic?

I asked this question which someone has flagged as off topic, referencing a question that referred to pseudo code as a reason. My question is in regards to the overall design and not changes to how ...
user avatar
  • 309
8 votes
2 answers
164 views

Having an entire project reviewed

I have a small project I'm working on in an area I'm not comfortable with (web development). I would like someone to review my code. I can try to split it up, but I would prefer if someone looked at ...
user avatar
  • 85
3 votes
2 answers
380 views

Review code on Github? [duplicate]

Someone might sometimes want a review of a longer length of code: for example this question references some code stored here on their private web site. It isn't necessarily feasible or desirable to ...
user avatar
  • 12.8k
7 votes
1 answer
137 views

Good question, but OP didn't know how to ask it?

In Calculating Julian dates, the author asks a question that doesn't make sense: Refactor this code so that I don't have to insert the parameters any time I need to use one of the functions. [....
user avatar
9 votes
3 answers
134 views

Proper way to ask best practices questions

https://codereview.stackexchange.com/questions/37601/how-bad-is-duplicating-a-code-block This got closed as off-topic. I read the help center and from it I concluded that rather than present possible ...
user avatar
  • 254
41 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 - ...
user avatar
9 votes
1 answer
101 views

Encouraging users to include a code-snippet that proves that their code works

I have stumbled across some questions where it is hard to determine whether or not the code in the question actually works or not. Example #1: https://codereview.stackexchange.com/questions/35616/...
user avatar
6 votes
1 answer
53 views

Codeblock detection

The idea jumped at me after reviewing two close votes in a row (granted, from the same user) that were homework assignments without any code in it. Since a question that has no code in it (or one ...
user avatar
13 votes
2 answers
149 views

Is asking for review of 3rd party code ok?

Most code people are posting here seems to be code they have written themselves. In this question the OP asked basically for a review of three 3rd party scripts. I'm not sure that this question is a ...
user avatar
  • 20.1k
9 votes
1 answer
136 views

Reviewing usefulness of code

I was wondering if, as part of asking for a review here, can I ask about how useful my code is? That is, getting feedback about what possible use-cases the code I have written has and if people would ...
user avatar
7 votes
3 answers
107 views

Can I ask a question to review an FAQ written on a third-party site?

I wrote an FAQ on a third-party website related to Delphi and thread-protection of objects. I need some feedback if this content is adequate or not. I was wondering can I ask a question on Code Review ...
user avatar