On Fri, Sep 5, 2008 at 9:15 PM, David Cournapeau <[EMAIL PROTECTED]> wrote:
> On Sat, Sep 6, 2008 at 8:38 AM, Charles R Harris > <[EMAIL PROTECTED]> wrote: > > > > +1, but (putting on pedant hat) I think the functions should be formatted > in > > the way revealed to us by K&R. > > By K&R, you mean the K&R style, right , not the K&R function > declaration style ? :) > This one <http://en.wikipedia.org/wiki/Indent_style#K.26R_style> int main(int argc, char *argv[]) { ... while (x == y) { something(); somethingelse(); if (some_error) do_correct(); else continue_as_usual(); } finalthing(); ... } I'm a bit of a heretic myself, I always use braces in if statements, even for one liners. It's just a bit easier on my eyes. Chuck
_______________________________________________ Numpy-discussion mailing list [email protected] http://projects.scipy.org/mailman/listinfo/numpy-discussion
