Re: K&R Style?

From: Date: Sun, 03 Dec 2000 06:54:20 +0000
Subject: Re: K&R Style?
References: 1 2  Groups: php.dev 
Request: Send a blank email to php-dev+get-39897@lists.php.net to get a copy of this message
K&R == "Kernigan & Ritchie"... the original C Language developers... and also the original C authors of the book "The C Programming Language"... The bible of C programming. In this particular context... "K&R" means the C indenting style specified in that book... Regards, Sebastian PS: Actually... I don't remeber if the book advocates the opening { in the same line as the if/while/function declaration or on the next line... I'll have to look it up :-) "Teodor Cimpoesu" <teo@digiro.net> wrote in message news:20001202154835.A32693@digiro.net... > Hi Toby! > On Fri, 01 Dec 2000, Toby Butzon wrote: > > > Can somebody please tell my what K&R style is (as mentioned in > > CODING_STANDARDS on the CVS, etc.) or where I might find a guide for this > > style? Thanks > try: > indent -kr myfile.c > > then have a look at the changes :) > > -- teodor > > > -- > PHP Development Mailing List <http://www.php.net/> > To unsubscribe, e-mail: php-dev-unsubscribe@lists.php.net > For additional commands, e-mail: php-dev-help@lists.php.net > To contact the list administrators, e-mail: php-list-admin@lists.php.net >

« previous php.dev (#39897) next »