What is meta? ×
Meta Stack Exchange is where users like you discuss bugs, features, and support issues that affect the software powering all 127 Stack Exchange communities.

Possible Duplicate:
Do not include code blocks in abbreviated question summaries on the question listing pages

While searching through questions I have frequently noticed that the summary is taken up almost entirely by the code snippet or ASCII art that is part of the question. Here is an example:

enter image description here

I would argue that seeing the unformatted code is not very useful to you as you are browsing questions cursorily. It also prevents you from reading more of the actual prose, which helps you decide whether you can be of assistance to the asker.

Would you agree that replacing code snippets in the summary with a delimited ellipsis is a good idea?

share|improve this question

marked as duplicate by Martijn Pieters, ben is uǝq backwards, Toon Krijthe, Daniel Fischer, hims056 Nov 8 '12 at 12:07

This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.

    
I would have to do extra clicks in every question I chose to read. –  SingerOfTheFall Nov 8 '12 at 11:09
    
I suppose you mean to censure only blocks of code, not code inlined in sentences. Right ? –  dystroy Nov 8 '12 at 11:11
2  
@SingerOfTheFall I don't see how that would be the case. Just to clarify, I am requesting this for question summaries, not the actual questions. –  Asad Nov 8 '12 at 11:12
    
@dystroy Correct. Martin, yes that question is quite similar, it didn't show up in the suggestions though. Is it going to be implemented? –  Asad Nov 8 '12 at 11:14
    
@Asad: I have no idea if that suggestion is going to be implemented; there is no status flag on that suggestion. –  Martijn Pieters Nov 8 '12 at 11:15
    
@Asad, sorry, I have misunderstood you =( –  SingerOfTheFall Nov 8 '12 at 11:15
add comment

1 Answer

Very often, as you saw, the code in the summary doesn't really make sense.

But most often, even without being clear, it gives a hint about the topic.

Look at this :

enter image description here

In the first and third question, I got information from the included code snippet and it was useful to me. In both cases, the code we see in the summary is taken in separate code paragraphs, not from code inlined in sentences.

So, even if it's very far from perfect, I'd prefer to have this code kept in the summary rather than removed.

share|improve this answer
add comment

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