Re: how to write clean code.
| From: | Maxim Maletsky | Date: | Mon, 03 Feb 2003 00:18:45 +0000 |
| Subject: | Re: how to write clean code. | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-134066@lists.php.net to get a copy of this message | ||
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
>