Edit: the referenced question has already been deleted
The answer: https://stackoverflow.com/a/17060619/2040040
Three years ago I wrote code to get translated text from Google Translate. Not the paid service, but reading from some magic URL.
For obvious reasons this no longer works.
In fact, it is against Google Terms of Service (emphasis mine):
Don’t misuse our Services. For example, don’t interfere with our Services or try to access them using a method other than the interface and the instructions that we provide.
So it's unlikely to help future readers.
Now I realize I probably should not write the code in the first place, and want to delete it. What is the best solution?
- Don't do anything
- Edit the answer and remove the code
- Ask a mod to delete it
- Ask a mod to delete the question altogether
- ...
In the meanwhile I would make some less intrusive edits to the answer, so it would be clear that it does not work and does no good.