We like to encourage posters to paste their code (see How to force new users to post their code?). Unfortunately, sometimes we end up with "wall of text" syndrome, where some posters post a poorly-formatted 200-line class riddled with comments, debug statements and methods that have nothing to do with the issue.
Is there something that we can do to enforce/encourage them to clean up their code (for their own sake as well!) when asking questions in SFSE? There are two interesting references that we could quote: https://stackoverflow.com/help/mcve and http://sscce.org/
And, more specific questions:
- should we ask posters to clean their code, pointing to the above resources?
- should we edit posts and remove irrelevant parts of the code sample (comments, debug statements and irrelevant methods)? or is that considered rude/impolite or tampering with evidence?
Thanks!