allow line break at operators
usenet-nospam at seebs.net
Fri Aug 12 20:37:41 CEST 2011
On 2011-08-12, Chris Rebert <clp2 at rebertia.com> wrote:
> One argument I've heard from braces fans is that sometimes they want
> their own structure, which does not match the actual block structure.
> FILE* f = fopen(...);
> // do stuff with f
> // at this indent level
> // back to normal
> But really this is just working around other limitations in the
> language (i.e. lack of a with-statement equivalent).
FWIW, the C idiom is:
FILE *f = ...
It isn't used all that widely, but it is a lot less horrible than
random indenting would be.
Copyright 2011, all wrongs reversed. Peter Seebach / usenet-nospam at seebs.net
http://www.seebs.net/log/ <-- lawsuits, religion, and funny pictures
http://en.wikipedia.org/wiki/Fair_Game_(Scientology) <-- get educated!
I am not speaking for my employer, although they do rent some of my opinions.
More information about the Python-list