Skip to main content

You are not logged in. Your edit will be placed in a queue until it is peer reviewed.

We welcome edits that make the post easier to understand and more valuable for readers. Because community members review edits, please try to make the post substantially better than how you found it, for example, by fixing grammar or adding additional resources and hyperlinks.

Required fields*

5
  • 6
    This would only encourage people to dump large segments of code. We want to encourage them to minimize it to just the code that needs to be shown. Commented Aug 14, 2013 at 20:31
  • @Servy I agree that encourage big lots of code is bad, but sometimes seems necessary. In the given question, I gave a minimized example, and only add what people were asking. Commented Aug 14, 2013 at 20:32
  • 1
    If it's truly necessary to have a large code snippet, then people shouldn't be hiding it. That people want to hide it is a pretty strong indication that there's too much code there. Commented Aug 14, 2013 at 20:34
  • 1
    @Servy what about allow people with some rep turn a block of code in a mode where others can minimize/maximize? This way, we are not encouraging new users to dump a lot of code, and yet for people that are used with the site create a better view for the question. Commented Aug 14, 2013 at 20:38
  • People who have been using the site for a while should know better than the rest that you shouldn't be including large code snippets, or in the rare cases where they're needed they wouldn't want them hidden. Commented Aug 14, 2013 at 20:41