Ethan Furman <ethan <at> 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




_______________________________________________
Python-Dev mailing list
Python-Dev@python.org
http://mail.python.org/mailman/listinfo/python-dev
Unsubscribe: 
http://mail.python.org/mailman/options/python-dev/archive%40mail-archive.com

Reply via email to