A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://mail.python.org/pipermail/python-dev/2012-January/115279.html below:

[Python-Dev] PEP 7 clarification request: braces

[Python-Dev] PEP 7 clarification request: braces [Python-Dev] PEP 7 clarification request: braces"Martin v. Löwis" martin at v.loewis.de
Wed Jan 4 00:11:50 CET 2012
> 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.

Is it really *much* more readable? I have no difficulties reading either
(although I had preferred a space after the if; this worries me
more than the double if line).

Regards,
Martin
More information about the Python-Dev mailing list

RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4