42 votes
Accepted

Distributing "welcome votes" to first posts

Upvote for effort I think that it's important to keep in mind what it's like to post to Code Review as a total newcomer. After all, they don't teach you in school how to post a question to Code ...
user avatar
26 votes

Found a serious bug in my question after posting it

If the question has been answered, you must not edit it in a way that would invalidate the answers; that is not permitted on Code Review. If the question is still unanswered, and the bug is easily ...
user avatar
  • 57.6k
23 votes
Accepted

Check list for formatting questions and answers

After editing many posts over time, I've come up with my own checklist for formatting posts: (I'll edit this as more things come to mind) Code Any code must be indented (manually, CTRL+K, or the <...
user avatar
  • 34.7k
22 votes
Accepted

Complete code rewrite

For the record, the linked question asks: Is there any better way to do this? I believe that is the question we all want the answer to when posting code here, more or less. Is a question that ...
user avatar
22 votes

Distributing "welcome votes" to first posts

Voting is personal. Personally I find that upvoting good first posts helps making new users feel welcome, and encourages them with positive reinforcement - however if the post is iffy and it still ...
user avatar
19 votes
Accepted

How can I make my question get more attention?

This is a common problem on Code Review, as we have plenty of unanswered questions. While you are waiting for a review, and to increase the probability that your question will be answered sooner, ...
user avatar
18 votes

Does Code Review systematically prefer the least important code, and what can we do about it?

I want to address the time-constraint issues. Time has become increasingly precious to me, and an indepth review of complicated code can take a lot of time.... there are answers where I have spent ...
user avatar
  • 96.7k
17 votes

How do we define duplicate questions?

Four years later, we now have over a dozen questions on Project Euler #1, including multiple implementations in the more popular languages. We also have hundreds of linked-list questions, many of ...
user avatar
15 votes

Is it time to start broadening the definition of duplicates?

Obviously, SQL injection is a major source of anxiety among beginner PHP programmers. It doesn't help that the deck is stacked against them: The language makes it easy to do the wrong thing and hard ...
user avatar
15 votes
Accepted

What should we do about questions asking to "fix" warnings?

The same thing we do when someone asks us to optimise a specific section of code: We review any and all facets of the code. I wouldn't strictly say we ignore their comment so much as we're not ...
user avatar
  • 3,753
14 votes

Code Hunt : Perfect score means not-so-perfect coding

The problem is more general than just Code Hunt. Given current technology, even sophisticated static code analyzers sometimes misjudge code quality. For example: '100' is a magic number No ...
user avatar
14 votes

Does Code Review systematically prefer the least important code, and what can we do about it?

"Looks good" is a really hard answer to post. You have to be extraordinarily confident in order to be able to post that. Moreover, if a question is truly up to the standards of Code Review and we ...
user avatar
  • 25.2k
13 votes
Accepted

Best of Code Review 2014 - Best Title category

Regularity in the “Rusty Towel of Mutual understanding” Author: Rolfl (revision 3) | answered This question also went to the Hot Network Questions and into the weekly CR newsletter the week it was ...
13 votes
Accepted

Code Hunt : Perfect score means not-so-perfect coding

NOTE: Wearing my 'I am a Java Programmer' Hat (not my mod hat) Having spent some time recently on Code Hunt, I would actively recommend that people avoid it: Stay Away! This will teach you the wrong ...
user avatar
  • 96.7k
13 votes
Accepted

What's the point of voting on "questions"?

I agree with parts of the three current answers from @RubberDuck, @Simon André Forsberg, and @Pimgd. Which, if I can summarize... questions get voted on when: Horrible code - I disagree with this one....
user avatar
  • 96.7k
13 votes

Seemingly arbitrary requirements

are seemingly arbitrary requirements on implementation on-topic for Code Review or should the asker provide a meaningful reason for these requirements for the question to be acceptable? I think two ...
user avatar
13 votes

Does Code Review systematically prefer the least important code, and what can we do about it?

I think I have a similar feeling, but it's hard to tell, because your question is full of vague or inaccurate elements. I try to address your and main remarks, but if I misunderstood your main ...
user avatar
  • 107k
13 votes
Accepted

What tips would you suggest to increase tag activity?

I could personally try and create more content in a Q&A format but CodeReview.SE does not seem like a site that lends well to people answering their own questions? Funny you mention create more ...
user avatar
13 votes

What tips would you suggest to increase tag activity?

To help sweeten the pot, I've offered bounties totalling +400 on three unanswered powershell questions. I've advertised the bounties in the Server Fault chat room. Please help spread the word as ...
user avatar
13 votes
Accepted

Good format to post code for review

We actually have a few guides on how to ask good questions: How to get the best value out of Code Review - Asking Questions Checklist for how to write a good Code Review question Simon's Guide for ...
user avatar
12 votes

What's the point of voting on "questions"?

That means that, basically, the worse the code you submit for review, the more upvotes you'll get, and eventually: the more rep you gather. This is not always true. In many cases, good code also get ...
user avatar
12 votes

Is a changeset reviewable?

I'm not asking to review the code This alone dismisses the idea of a meta-review as invalid, for me. We only review code. The OP could easily just post the new code and receive valuable feedback ...
user avatar
  • 47.9k
11 votes

Tools for format and error checking in your programming language

Python Python uses Python Enhancement Proposals (PEPs) to improve Python, ranging from style guides to feature requests. There are linter's for a few of these: PEP 8 -- Style Guide for Python Code. ...
11 votes
Accepted

Can you post code that works on one version of a interpreter (ex:Python 2) but not on another (ex:Python 3)

Can you post code that works on one version of a interpreter (ex:Python 2) but not on another (ex:Python 3) Yes, we currently tag questions with python if it runs in a version or both versions of ...
user avatar
  • 41.6k
11 votes
Accepted

Given CR's question title policy, how to title a second question about the same program?

Creating different titles for follow-ups is difficult, so most follow-up questions tend to have very similar titles which is perfectly fine. Some options for naming a follow-up question is: XYZ ...
user avatar
10 votes

Tools for format and error checking in your programming language

C / C++ Clang's Static Analyzer, a free static analyzer based on Clang. Coverity, a commercial static analyzer, free for open source developers Cppcheck, an open-source static analyzer CppDepend, a ...
user avatar
  • 64.1k
10 votes

Does Code Review systematically prefer the least important code, and what can we do about it?

Who determines what's important? Does Code Review systematically prefer the least important code, and what can we do about it? Yesterday I asked two questions, one was a follow-on from the first. ...
user avatar
  • 96.7k
10 votes
Accepted

What is the difference between golfing and reducing code size?

Reducing the size of your program in terms of character-count, and reducing the size of your compiled executable, in byte-count, are different things. This is not the only criteria, but, for example, ...
user avatar
  • 96.7k
9 votes

Code Hunt : Perfect score means not-so-perfect coding

My 2 cents in this is having a piece a code that score 3 stars on Code Hunt doesn't make it good code. Code Hunt is still a game, and not an absolute reference on what is and is not a good piece of ...
user avatar
  • 6,661
9 votes

Is it time to start broadening the definition of duplicates?

From my own personal experience, finding accurate information regarding SQL injection, and even basic PHP security, is actually quite difficult for the novice. A search on Google can bring the best of ...
user avatar
  • 5,687

Only top scored, non community-wiki answers of a minimum length are eligible