Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 29 Feb 1996 14:05:12 -0800 (PST)
From:      invalid opcode <coredump@nervosa.com>
To:        Tony Jones <tony@rtd.com>
Cc:        chat@freebsd.org
Subject:   Re: your mail
Message-ID:  <Pine.BSF.3.91.960229140444.26195B-100000@nervosa.com>
In-Reply-To: <199602291846.LAA08510@seagull.rtd.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Thu, 29 Feb 1996, Tony Jones wrote:

> IMHO code not conforming to the K&R standards for brace ({}) placement 
> should be rejected by the compiler :-)
> tony

I dont particularly agree with that, I code my braces like this:

void main( int argc, char *argv[] )
        {
        int     i = 0,
                p = 1;

        for ( int l = 10; l; l-- )
                {
                i += p + l;
                p++;
                }
        }

I know ^^ makes no sense, but who cares, im showing brace style.

== Chris Layne =============================================================
== coredump@nervosa.com ================ http://www.nervosa.com/~coredump ==




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.3.91.960229140444.26195B-100000>