I usually hang out at the JavaScript tag, with a mix of jQuery, HTML and CSS where the code reviewed are usually snippets, which run around 100 lines and code that needs micro-optimizations. These are all fine, and one can answer them in a 15 min coffee break.

But sometimes I come across review questions that are one of these:

  • entire libraries
  • whole webpages
  • a full project
  • multiple files
  • some other huge code

So I ask the following:

  • How long is long code?
  • How many files does it take to call it long code?
  • Should we cater these long code?
  • 4
    \$\begingroup\$ Here's a different but related question with the following outcome: when a code is longer than it should be, it's OK to answer to explain that it's too long and what can be done to make it shorter. \$\endgroup\$ Commented May 15, 2013 at 8:11

1 Answer 1


I think our policy is that you are allowed to post as much code as you want, so long as it fits in the question. You are encouraged to narrow the focus of your code in the interest of getting better answers. So it's helpful if you only post the snippets you really want a review of, but its not required. You'll get better answers if you only post the smaller portions.

  • 3
    \$\begingroup\$ Is it OK to review, say, 10% of that code? \$\endgroup\$ Commented May 15, 2013 at 14:59
  • 2
    \$\begingroup\$ @QuentinPradet, sure. \$\endgroup\$ Commented May 15, 2013 at 15:03

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .