Comment Re:Have you ever been to a Ruby conference? (Score 4, Insightful) 715
Because there's difference between coding style and significant whitespace.
// Somebody pasted a few lines, but didn't reindent last line.
// Still correct syntax, still does the same, Reindent All fixes the formatting and everybody's happy.
if (x) {
statement1
statement2
statement3
}
# Somebody pasted a few lines, but didn't reindent last line.
# Still correct syntax, statement3 errorneously executes every time, IDE doesn't help (it could reindent _when pasting_, not after the fact). Have fun debugging!
if x:
statement1
statement2
statement3