5 ms·
> If conditional codepaths depending on whitespace/indentation makes diffs very hard to read Wouldn’t this be the case in other languages too? Especially if yo
by jkcxn 7y ago
> If conditional codepaths depending on whitespace/indentation makes diffs very hard to read
Wouldn’t this be the case in other languages too? Especially if you’re using an auto formatter
- ssivark 7y agoWhen you cut/paste/move around chunks of code, the existence of an unbalanced bracket provides redundancy which is a HUGE blessing in case you mess something up. Eg: When removing a bunch of lines from an indented python block (with empty lines above and below), you might accidentally un-indent later lines and never realize, or at least forget what was the "correct" indentation! Particularly cases where editors mess up indentation level when you delete part of a line.