Is it OK if I write a question and include a link to GitHub/Pastebin/other similar site instead of putting the code here on Code Review?
CARVIEW |
Stack Exchange Network
Stack Exchange network consists of 183 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.
Visit Stack ExchangeTeams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
Learn more about Teams2 Answers 2
No. We require the code to be contained within the question, for the following reasons:
- To avoid dependency on third-party hosting services. These links tend to go away after a while.
- To prevent review requests of huge projects.
- To make it easier to see the code and so it can interest more reviewers and get more reviews.
- To avoid confusion when the OP changes the code in the repository and suddenly the answers no longer apply to the code.
(Some of these points have been taken from Winston Ewert's answer to another question.)
If your code is too long (doesn't fit within the 65 535 character limit for posts on Code Review), please select only the portions of the code where you are especially interested in getting reviewed. In such a case, you may add a link to a site where more of your code can be seen, but don't expect anyone here to review it.
Why other users should avoid updating questions to add in the code for you
You might think, "Why don't you just update my question and add the code from my link, instead of putting my question on hold?" We can't do this because of copyright. All code posted here must be licensed under Creative Commons Attribution-ShareAlike. As the owner of copyright in the code you have written, you are the only person who can license it. No-one else has the legal authority to do it for you.
-
1\$\begingroup\$ 1. GitHub is a opensource friendly, well-know, big hosting service. Unlikely to disappear. 2. That's might be true, but it's possible to point to some single files on GitHub. 3. It's at least as easy as on GitHub to discuss about code. I would say it's easier on GitHub, due you see the whole file and not just a frame. 4. GitHub uses a version control system and the author can point to a specific version, which unlikely changes. \$\endgroup\$– RobinCommented Feb 16, 2014 at 22:21
-
22\$\begingroup\$ @Sam You're dead wrong. Files on GitHub are really likely to disappear, because the author simply takes it down because he no longer cares. \$\endgroup\$– user35408Commented Feb 17, 2014 at 17:38
-
\$\begingroup\$ @Sam: If you want to review code on GitHub, then do so! GitHub has an excellent system for code review. \$\endgroup\$ Commented Feb 17, 2014 at 22:11
-
\$\begingroup\$ >To prevent review requests of huge projects. So what is the suggestion for the huge project? \$\endgroup\$ Commented Jul 4, 2016 at 14:18
-
1\$\begingroup\$ @AnindyaChatterjee As long as it fits within one question, it is okay. For projects larger than that, post a question focusing on only a part of your code, then incorporate the suggestions you get and see if you can apply it on other parts of your code as well before you post a question about those other parts. \$\endgroup\$– Simon Forsberg ModCommented Jul 5, 2016 at 7:38
No.
Because there's a reason we require your code to be embedded in the question:
You must log in to answer this question.
Explore related questions
See similar questions with these tags.
- The Overflow Blog
-
-
Linked
Related
Hot Network Questions
- Are some of (most of?) what we describe as "mistakes of our senses/perception", mistakes of our reasoning process?
- Connection time of 50 minutes in Helsinki Airport
- TV episode where a disfigured human exchanges places with a normal-looking human from another planet
- Are copper and magnesium substituting each other in the mixed oxide lattices?
- Involuntarily causing someone else to be killed for one's own faith
- Can I still get the pacifist ending if I use the fight option in a boss fight, but miss every time?
- How can I make points move independently as they appear by frame?
- How do we prove that all real processes are irreversible?
- How can native speakers distinguish between lenis and fortis finals such as /tʃ/ and /dʒ/ as in /ɛtʃ/ and /ɛdʒ/?
- How to improve sound output level of passive, piezoelectric buzzer?
- Did Webster's Dictionary define Fascism by its relationship to corporations until 1987?
- Can I mount my PC with a desktop mount underneath a particle board Ikea Karlby Walnut top?
- How would you say a meter needle/indicator moves suddently?
- Tiff to MBTiles issue
- How does Rav Kotler assign final letters in 5 cases in Vayikra-Bamidbar?
- Tikz - How to draw multiple arrows between nodes and position them perfectly without the usage of angles?
- Wrapping minipage around a tabularx cell produces overlapping text as of TeXLive 2025
- Movie with a young Black male lead that ends with the Serenity Prayer
- How is “unerlaubt” working in this paragraph?
- Motivation for choosing generalized coordinates in classical mechanics
- Is it legal for businesses to give financial incentives for leaving positive reviews on review sites (e.g., Google Maps, Yelp, Facebook, Amazon)?
- Is it correct that in principle, both Bayesian factor and posterior odds ratio can be used to perform hypothesis test?
- What fiction genres do literary agents recognize?
- book about a girl traveling through other dimensions