[Python-Dev] PEP 7 clarification request: braces (original) (raw)
Benjamin Peterson benjamin at python.org
Wed Jan 4 00:17:56 CET 2012
- Previous message: [Python-Dev] PEP 7 clarification request: braces
- Next message: [Python-Dev] PEP 7 clarification request: braces
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Ethan Furman <ethan stoneleaf.us> writes:
Readability also includes more than just the source code; as has already been stated: if(cond) { stmt1; + stmt2; } vs. -if(cond) +if(cond) { stmt1; + stmt2; +} I find the diff version that already had braces in place much more readable.
There are much larger problems facing diff readibility. On your basis, we might as well decree that code should never be arranged or reindented.
Regards, Benjamin
- Previous message: [Python-Dev] PEP 7 clarification request: braces
- Next message: [Python-Dev] PEP 7 clarification request: braces
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]