Mathieu Roy wrote:

if (1 != 1) {
        print "blo";
}

GNU style advocates this indentation for functions body (http://www.gnu.org/prep/standards_23.html#SEC23) :

if (1 = 1)
  {
    print "blo";
  }

However I rarely encounter that form in recent code, your convention looks all right to me. Anyway it's a convention, it's only good when we stick to it :)



Reply via email to