On many questions, help is asked about how a game has crashed. Following how it happened a long string of java code appears and takes up a large space in the page. Would it be bad to paste the code to a site like pastebin.com and link it or is that frowned upon. Here are some posts to what I'm talking about.
Or is it better to place it as preformatted text like this.
And help or advice in order to better the editing in these types of questions?