New users can only post a limited amount of links. However, they might reserve this link for paste sites such as pastebin, bpaste and so on. In my opinion, these kinds of websites are useless as the code will be moved into the question anyway. Since I don't think banning links is very user friendly, perhaps a warning should be displayed instead. Something along the lines of:
It appears you're attempting to post a link to an off-site code sharing site. Have you learned about creating a Minimal, Complete, and Verifiable example or our Stack Snippet feature? If your code is not written in one of the languages supported by our Stack Snippet, please paste the code into the question box and consider choosing amongst these free online compilers.
The last link leads to the c++ tag wiki which has a list of online compilers commonly used by the C++ community. I'm not too happy with this as it contains three links. The warning box probably shouldn't contain links at all. But the key points are there:
- if you have a code dump and it can't fit into the question, reduce it into an MCVE.
- use the feature that's meant to supersede jsfiddle and discourage code paste websites
- use online compilers vetted by the community
The last one is a bit more difficult since it's hidden away in the tag wiki. Some canonical (albeit off-topic) questions may contain online compilers that are commonly used (especially if it supports multiple languages). The goal here is to introduce them to websites that will be familiar to the community.
What should be done here?