On 08/24/2012 08:47 AM, Matijn Woudt wrote:
On Fri, Aug 24, 2012 at 5:33 PM, Jim Lucas<li...@cmsws.com>  wrote:
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 ..
spaces? ;)
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.

- Matijn


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
members.

So you expect people to convert all their code to a 'mailing list
standard' before posting?

If it means that more eyes will even look at the code, then I would hope they would do anything possible to make that happen.

Still not going to see that happen..

Unfortunate.



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.

I can see that you do that indeed, but that does *not* guarantee that
it is also seen that way. I think most of us use a 'smart' mail
client, that automatically makes emails more readable by undoing these
stupid line breaks at 80 chars. Gmail for example shows your mail as
lines with approx 175 chars on my 17" notebook.. I'm not sure how
Gmail sends my messages, but looking at the 'Show original' option, it
seems it breaks long lines but might be at a different length too.

- Matijn


Well, not to talk bad about Gmail (I use it for personal accounts), but I like using a client that I do have some control over what it does to my email. Making sure that it retains my formatting is one of my first requirements.

--
Jim Lucas

http://www.cmsws.com/
http://www.cmsws.com/examples/

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to