Re: how to write good code
| From: | Shelley | Date: | Mon, 01 Sep 2008 14:07:19 +0000 |
| Subject: | Re: how to write good code | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-279218@lists.php.net to get a copy of this message | ||
Hi Shiplu,
For all that you mentioned, and if you want to get a quite good suggestion,
I will highly recommend that you read through McConnell's Code Complete (2nd
Edition).
Specifically:
Chapter 31: Layout and Style
Chapter 32: Self-Documenting Code (Commenting Techniques)
It won't disappoint you.
2008/8/31 Shiplu <shiplu.net@gmail.com>
> I wanna know how to write good code in php.
> Not oop stuff. I wanna know how to write a good php code file.
> documentation, comments. indentation etc.
> what are the good practices??
>
>
> --
> Blog: http://talk.cmyweb.net/
> Follow me: http://twitter.com/shiplu
>
--
With best regards,
Shelley Shyan
http://phparch.cn