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

Would you believe that someone indented their code with three spaces, and got an error message letting them know that it won't work?

Find that hard to believe? Ok, would you believe they got a tool-tip warning?

It not appearing right in the preview box?

share|improve this question
2  
Instead, maybe we should add "3 spaces" to the heuristics for detecting a bad answer? (Too bad this is not used for questions though?) –  Arjan Mar 27 '11 at 22:28
    
As an aside: apparently there is no preview on mobile devices. Still then, I fail to understand why a few people are not somehow alarmed seeing the result after posting... –  Arjan Mar 27 '11 at 22:32
1  
@Arjan - They probably either don't care or don't know that they can indent another space to make it look like code. Some people indent their code with the intention that it will merely be indented and then accidentally discover that is how the formatting works. –  jmort253 Mar 27 '11 at 22:45
    
@jmort253: stackoverflow.com/posts/5428751/revisions was an example of someone trying to indent their code, but had one space too few. –  Andrew Grimm Mar 27 '11 at 22:51
1  
Can somebody run a query to find questions with lines that start with just 3 spaces to see how prevelant it is? –  Gabe Mar 27 '11 at 23:11

1 Answer 1

I ran a query on SEDE, but I'm not going to share it because it takes ~50 seconds to run and I don't want that kind of load being put on SEDE by everyone who visits this question.

There were 132 occurances of lines indented with three spaces, and the vast majority of them were blank lines that just happened to have three spaces on them for some reason.

That's not enough to justify the additional overhead and development time of doing this IMO.

share|improve this answer
2  
Did you look only at current posts, or original revisions, too? I would imagine that most of the 3-space lines would have been corrected by now, mostly by editors. –  Gabe Mar 28 '11 at 0:56
    
@Gabe - current posts only –  Mark Henderson Mar 28 '11 at 1:54
    
I thought query results were saved? (At least when the query was saved?) –  Arjan Mar 28 '11 at 6:29
    
@arjan - well it took 50+ seconds every time, so I dunno? –  Mark Henderson Mar 28 '11 at 7:56
    
"current posts only" indeed doesn't tell us anything as @Gabe observed. –  Hendrik Vogt Mar 28 '11 at 9:58

You must log in to answer this question.

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