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?
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: