On 08/24/2012 08:25 AM, Matijn Woudt wrote:
On Fri, Aug 24, 2012 at 5:22 PM, Jim Lucas<li...@cmsws.com> wrote:
Two simple guide lines will help everybody here.
1) Limit your lines to 80 characters
2) Use spaces instead of Tabs
Are we going to discuss coding guidelines again? The 80-character
limit is outdated, 100 or 120 is more common today.
And while I do agree with the spaces, do you also insist on 2, 4 or ..
Oh and I'd like everybody to put the opening brackets on the same line.. bla bla
My point is: It's not going to happen.
This has absolutely nothing to do with your own personal coding styles.
This has only to do with how you are going to present code to the list
Personally, I let my code ramble on as long a line as it needs. I use
tabs (set to 8 chars) in my code. That is because the other developers
that I work with have editors that can display the tabs in whatever
width they desire. I also do not wrap at 80 chars.
But if you look back at any of my code examples that I have written,
none of them are longer then 80 characters, and uses two spaces for
indentation. Simply because my email client is set to plain text and
wraps at 80 chars.
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php