I hope that is not a duplicate. Probably most of you have seen questions in which the OP presents a code which is very likely not written by the OP, but the OP does not provide a link to the original code. While I do not really care about some "implicit" copyrights for answers, I really feel that one could give better and faster answers if the source of the code was available. Then one would have many or most of the potentially relevant posts available right away, and not discover that one just reinvented a solution someone else found earlier. We all know that the searching tools on the main site have some considerable room for improvement, the selection of related posts is a bit obscure (e.g. for pretty much all TikZ posts "Is plotting exponential graphs a known source of bugs in tikz?" gets identified as related). So given that the links provided at the main site are not optimal, I have the following
Question: Is there a way to politely convince users to disclose the source of their posts?
What is the purpose of this question? Apart from learning some nice strategies to convince the OPs to reveal the source of "their" codes, I hope to collect in the answer(s) good reasons why doing so beneficial for them. One may use the answer(s) then to tell the OP why they should add the link to the source.