|
From: | Stephane URBANOVSKI |
Subject: | Re: [Savannah-dev] indentation |
Date: | Thu, 04 Sep 2003 10:38:00 +0200 |
User-agent: | Mozilla/5.0 (X11; U; Linux i686; fr-FR; rv:1.4) Gecko/20030703 |
Nic a écrit :
Mathieu Roy <address@hidden> writes:Hi, After discussion with the CERN team, we agreed to change this function example () { print "bla"; } if (1 != 1) { print "blo"; } tofunction example () {print "bla"; }if (1 != 1) {print "blo"; }
It's not my prefered style, but it seems to be clear and widely used. I'm ok.
GNU coding style is not quite that, it would be better IMHO to use GNU coding style which is this:
[...]
Top-level (ie: function) bodys are not indented, all other blocks areindented. The indentation level is 2 spaces.
I really don't like indentation that use spaces. Using tabs is much usefull for me. -- Stéphane Urbanovski
[Prev in Thread] | Current Thread | [Next in Thread] |