For long code, what should I do?
- write down all the code in body content
- Parse the snippet and link the rest of it using pastebin
- post the pastebin URL only.
And, how long is long?
Meta Stack Exchange is a question and answer site for meta-discussion of the Stack Exchange family of Q&A websites. It only takes a minute to sign up.Sign up to join this community
It is better to just include the important lines in your code; however, sometimes you can't realize that other parts of the code are relevant too. So, in same cases is good to include the whole code. For that reason I think Stack Overflow should have the option to include an option to attach code in files, or maybe a pastebin like solution.