[PHP] Re: how to write good code

2008-09-01 Thread Shiplu
Thanks Eric, Diogo, Ross and specially Christopher for this long article. I have started reading those articles. And I hope to collect those books too. -- Blog: http://talk.cmyweb.net/ Follow me: http://twitter.com/shiplu

Re: [PHP] Re: how to write good code

2008-09-01 Thread Yeti
Ross McKay [EMAIL PROTECTED] wrote: Find out what bad is by reading this: http://thedailywtf.com/Series/CodeSOD.aspx Then, don't do it like that! What I enjoyed most on that page was this comment: One day, after a code review by one of our 'senior' developers this little beauty showed

[PHP] Re: how to write good code

2008-09-01 Thread Ross McKay
On Mon, 1 Sep 2008 08:50:45 -0700 (PDT), larry wrote: Write a lot of code, rewrite code you think is messy (we can always do better). The more you do the better you should get. Here is some inspiration on that: http://www.codinghorror.com/blog/archives/001160.html NB: the message of that blog

[PHP] Re: how to write good code

2008-08-30 Thread Ross McKay
On Sat, 30 Aug 2008 20:17:18 -0400, Shiplu wrote: 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?? Find out what bad is by reading this: