Talk:Python (programming language): Difference between revisions

Content deleted Content added
Formatting of C examples
Formatting of C examples: Keep example with braces
Line 123:
 
-- [[User:Antaeus Feldspar|Antaeus Feldspar]] 18:26, 21 Sep 2004 (UTC)
 
:Good practice in C uses braces here, so that a later addition to the then-clause does the right thing. Moreover, the distinction being raised is between punctuated blocks (C) and indented blocks (Python), so braces are needed. I think the code is fine as it aws (with the braces) -- an example using multiple-statement blocks is ''harmless'' but I do not think it is ''necessary.'' —[[User:Fubar Obfusco|FOo]] 19:24, 21 Sep 2004 (UTC)