A c# question was just posted: Set desktop background. One of the lines in the posted code looks like this:
string json = webClient.DownloadString("super secret website url");
Clearly, in the actual source code, this is a URL and not an example string.
Does this count as example/filler/stub code?
On the one hand, I couldn't copy & paste this code into my IDE and run it and in this particular case, I might not be capable of finding a URL that would serve up the correct data format that the application is expecting.
On the other hand, I can find good reason why a user might not want to be giving away a link to his website for various reasons. It's not necessarily drastically different from not wanting to post your email address (which we'd edit out anyway). Moreover, the content at the URL could very easily be NSFW stuff that we'd want to remove from Code Review anyway.
Should we expect the user to provide some sort of URL that will allow the code to work, or is it fine is URLs to personal websites are redacted from the code wishing to be reviewed?
// do stuff
in place of actual code in a method. \$\endgroup\$