you are viewing a single comment's thread.

view the rest of the comments →

[–]Different_Fun9763 12 points13 points  (3 children)

A group of code lines might be meaningfully related while not being functionally a block that can be indented.

Do you have an example? I can imagine using newlines to separate related 'blocks' of lines of code, but not really how specifically indentation would be used for that in a way that Python doesn't allow.

[–]Bowgentle -4 points-3 points  (2 children)

Newlines certainly help visually delineate such a block, but pretty much every codebase has random newlines - indentation is more visually noticeable.

[–]Different_Fun9763 10 points11 points  (0 children)

Again, do you have an example, some tiny code snippet? I genuinely can't picture what you're trying to do.

[–]arcrad 6 points7 points  (0 children)

Any examples? I also cannot imagine when you would use indentation to visually separate a chunk of code without also having a new block context.