3 ms·
My main gripe with significant white space is that it forces a specific level of formatting that is generally less attractive and readable then what I would oth
by drabiega 12y ago
My main gripe with significant white space is that it forces a specific level of formatting that is generally less attractive and readable then what I would otherwise use.
- CrLf 12y agoPlease elaborate. Usually, significant whitespace only forces code at the same nesting level to have the same indentation, it doesn't specify what that indentation should be.
- spoiler 12y agoI dislike significant whitespaces because when there's a lot of code that has multiple nesting levels it becomes a bit hard to follow. I like it when my code has a beginning and and ending token ({ and } in JS/C/C++ or `begin` and `end` in Ruby). Whilst writing CS I found myself writing `# end` a lot. Also, not to mention (maybe my editor lacks this feature) I like using ^M to jump from end to beginning braces of blocks, and I can't seem to do that in CS. However, all of these arguments just boil down to "this is my personal preference"
- pmontra 12y agoMy main gripe is that it makes moving code around painful and it introduces bugs that are difficult to spot. Literally.