-21

My proposal may apply for others communities, but it's mainly for Stack Overflow. Look at questions like this one. I do not doubt that could be a good question, but the simple fact of being so extensive makes me uncomfortable reading it, and certainly there are some more extensive than that.

It is obvious that sometimes you need a lot of code or images for explaining yourself, but it would be nice to minimize the impact to the reader. It wouldn't be so difficult to make the code hidden with some expansible components instead of the actual scrollable, and maybe for big images showing on mouse click only. These are some ideas, but any ideas that contribute to compacting big questions are welcome, too.

10
  • 1
    I'm not sure that question actually needs any image. Or should have that much code. Remember, there's "minimal" in Minimal, Complete, and Verifiable example for a reason. Feb 12, 2016 at 20:42
  • "Look at questions like this one [link to bad question with huge amount of bloat]": I'm not entirely convinced.
    – bjb568
    Feb 12, 2016 at 20:49
  • 1
    While the question does have some bloat, it came as a result of requests for more information. It even has a bounty which relates to an understanding that the question is rather involved. This question is not exactly the poster child for bloat questions, nor wall of text, nor code dump - as it is grouped, explained, and has been attentive to other user's requests for more information.
    – Travis J
    Feb 12, 2016 at 20:55
  • That was just an example, the point is not the quality. The fact is that sometime the code and images are needed and extend the question, and maybe can be improved, visually at least.
    – abdiel
    Feb 12, 2016 at 20:55
  • Even for bad questions
    – abdiel
    Feb 12, 2016 at 21:02
  • 5
    I'd argue that if a question is uncomfortable to read, you don't need to hide sections of it, you'd need to refactor the question. If you have actually good counter examples, please provide them.
    – Bart
    Feb 12, 2016 at 21:07
  • @Bart I hope that the accepted answer for stackoverflow.com/questions/9999433/… be enough for you.
    – abdiel
    Feb 12, 2016 at 21:46
  • Don't misuse them, but StackSnippets have an option to show/hide code.
    – ryanyuyu
    Feb 12, 2016 at 21:49
  • Whether that question has any value for future users is, of course, debatable.
    – Paulie_D
    Feb 12, 2016 at 22:17
  • @abdiel... your title is question body.... link to a question, not an answer. And if you cant find good, on topic questions that are that long, then no it's not a problem. We shouldn't put up a feature to make terrible questions smaller.... they should (and most likely will) disappear
    – Patrice
    Feb 13, 2016 at 1:32

1 Answer 1

5

No, this is a terrible idea. Expandable components suck. Unless you have limited screen real-estate, they are a solution in search of a problem. That's not the case in a web browser: all content is scrollable. If you want to skim past something quickly, use the scroll bar. I'm going to have to use the scroll bar anyway, probably through the little spinny wheel attached to my mouse. Why should I also have to fiddle with clicking on some expando-box?

If there is something so ugly and irrelevant that you would want to collapse it out of view, it probably shouldn't be there in the first place. The site is collaboratively edited for a reason. Don't make others suffer just because you had to.

Besides, being able to "collapse" a section of a question (or worse, having it automatically collapsed) just increases the likelihood that it'll get ignored when someone tries to answer it. We already have a good way to ignore questions: the back button.

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .