4

I have some code that I want to put on Stack Overflow for a code review. What is the best way to handle multiple files? Should I just ask a question and put a link to a public GitHub repository? What do people usually do in this case?

This_is_NOT_a_forum
6,5474 gold badges38 silver badges55 bronze badges
asked Oct 5, 2013 at 21:34
2
  • This might fit better here - meta.codereview.stackexchange.com. Commented Oct 5, 2013 at 21:45
  • Stack Overflow and Code Review are not the same thing. Which one are you talking about? Commented Oct 5, 2013 at 21:53

1 Answer 1

11

Stack Overflow is better suited for practical programming questions about specific issues. Try CodeReview.StackExchange.com for code reviews. Be sure to read their FAQ though. For one, I think it's preferred or even required to put your code (the relevant bits) in the question to make it stand on itself, as well as to prevent link rot. To quote the relevant bits from their FAQ:

What topics can I ask about here?
Code Review Stack Exchange is for sharing code from projects you are working on for peer review.

Make sure you include your code in your question
This site is for code reviews, which are hard to do when the code is behind a link somewhere out there on the internet. If you want a code review, you must post the relevant snippets of code in your question. It is fine to post a "see more" link (though, do be careful — very few reviewers will be willing to click through and read thousands of lines of your code), but the most important parts of the code must be placed directly in the question.

answered Oct 5, 2013 at 21:36
1
  • 2
    Yes.... review of the entire source is not practical. Review of a subset, or specific methods or classes are more appropriate. Commented Oct 5, 2013 at 21:43

You must log in to answer this question.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.