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
15 votes
2 answers
173 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 ...
  • 918
21 votes
5 answers
389 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
4 answers
204 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 ...
8 votes
1 answer
272 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 ...
  • 27.3k
20 votes
9 answers
259 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 ...
7 votes
3 answers
221 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
0 answers
68 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
3 answers
210 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 ...
14 votes
3 answers
220 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
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 ...
12 votes
6 answers
265 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 ...
  • 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 ...
  • 13.5k
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 ...
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 ...
  • 21.8k
16 votes
2 answers
270 views

Are we allowed to ask questions about just regular expressions?

Are we allowed to ask questions just about regular expressions?
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 ...
16 votes
2 answers
282 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 ...
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 ...
  • 3,142
15 votes
1 answer
127 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 ...
82 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 ...
  • 16.5k
19 votes
3 answers
222 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 ...
  • 21.8k
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 ...
5 votes
1 answer
92 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 ...
  • 25.2k
8 votes
2 answers
174 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, ...
  • 10.7k
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 ...
  • 10.7k
7 votes
1 answer
128 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 ...
  • 131
17 votes
2 answers
602 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 ...
9 votes
1 answer
117 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....
  • 13.8k
19 votes
3 answers
154 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 ...
  • 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 ...
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 ...
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 ...
  • 2,259
20 votes
5 answers
408 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 ...
12 votes
3 answers
496 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 ...
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 ...
  • 10.7k
18 votes
4 answers
377 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 ...
  • 34.8k
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,...
25 votes
5 answers
351 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: ...
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 ...
  • 25.2k
14 votes
3 answers
161 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 ...
35 votes
3 answers
577 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 ...
  • 21.8k
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 ...
  • 309
8 votes
2 answers
170 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 ...
  • 85
3 votes
2 answers
386 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 ...
  • 12.9k
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. [....
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 ...
  • 264
42 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 - ...
9 votes
1 answer
102 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/...