RE: [PHP] how to write clean code.

From: Date: Mon, 03 Feb 2003 00:34:26 +0000
Subject: RE: [PHP] how to write clean code.
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-134067@lists.php.net to get a copy of this message
What about the coding standard found on PEAR.php.net LW -----Original Message----- From: Maxim Maletsky@lists.php.net [mailto:Maxim Maletsky@lists.php.net]On Behalf Of Maxim Maletsky Sent: Monday, 3 February 2003 11:19 AM To: anders thoresson Cc: Subject: Re: [PHP] how to write clean code. Coding style is a very personal issue, one codes the way he/she likes. But, for keeping the maintenance easier, K&R style (named after Kernighan and Ritchie - the Linux fathers) would probably be the best. I (personally) prefer it quite a lot, without much modifications. Here are a few references for K&R: http://www.purists.org/linux/ http://www.jetcafe.org/~jim/c-style.html http://www.cs.utexas.edu/users/scottm/cs307/Handouts/codingStandards.htm http://staff.oclc.org/~thompson/correct_style.html -- Maxim Maletsky maxim@php.net On Sun, 02 Feb 2003 20:34:35 +0100 anders thoresson <listor@thoresson.net> wrote: > Where can I find good guidelines on how to write PHP-code that's easy to > read for a human? > > -- > anders thoresson > > -- > PHP General Mailing List (http://www.php.net/) > To unsubscribe, visit: http://www.php.net/unsub.php > -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

« previous php.general (#134067) next »