Curt Zirzow [EMAIL PROTECTED] wrote in message
news:[EMAIL PROTECTED]
* Thus wrote jsWalter ([EMAIL PROTECTED]):
Is there a style guide for coding practices used when creating code to
be
shared with the community?
The rule is to code they way the community has been coding.
Thanks, I was
: Wednesday, August 06, 2003 2:37 PM
Subject: RE: [PHP] dev style guide
At 11:27 AM 8/6/2003 -0500, Jay Blanchard wrote:
[snip]
Just a remark but isn't it pointless to use Hungariannotation in a
language that is by default typeless???
[/snip]
We use it becuase we have a group of programmers
In this months issue of PHP Architect (phparch.com) there is an article
on making your code readable. I haven't read it yet, but past issues
have had some very helpful articles.
On Tuesday, August 5, 2003, at 03:35 PM, jsWalter wrote:
Is there a style guide for coding practices used when
-Original Message-
From: Chris W. Parker [mailto:[EMAIL PROTECTED]
Sent: Tuesday, August 05, 2003 4:33 PM
To: Jay Blanchard; Mike Migurski; jsWalter
Cc: [EMAIL PROTECTED]
Subject: RE: [PHP] dev style guide
Ahhh /Hungarian/ notation. Now that makes sense. I *thought
Jay Blanchard mailto:[EMAIL PROTECTED]
on Tuesday, August 05, 2003 1:23 PM said:
We
encourage Hungarian notation, but do not require it if the
documentation is clear.
Ahhh /Hungarian/ notation. Now that makes sense. I *thought* there
was something funny about polish notation (which as
From: [EMAIL PROTECTED]
Just a remark but isn't it pointless to use Hungariannotation in a
language that is by default typeless???
I would think that it would be the reason why you WOULD want to use
Hungarian notation (not that I do, though).
Even though you can take nVar and concatinate it
Just a remark but isn't it pointless to use Hungariannotation in a
language that is by default typeless???
Regards
Stefan Langer
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
[snip]
I've found a few articles on Hungarian notation but none of them have
been all that great. Real wordy and without good examples. Do you have
any examples/articles to contribute?
[/snip]
There is a lot to go on out there
http://www.google.com/search?hl=enie=UTF-8oe=UTF-8q=Hungarian+notatio
At 11:27 AM 8/6/2003 -0500, Jay Blanchard wrote:
[snip]
Just a remark but isn't it pointless to use Hungariannotation in a
language that is by default typeless???
[/snip]
We use it becuase we have a group of programmers, so the notation makes
it easier for one in the group to understand the
]
cc: [EMAIL PROTECTED]
06/08/2003 13:31Asunto: RE: [PHP] dev style
guide
At the risk of starting a flame/religious/holy war I find the One True
Brace style to have some inconsistency if it is as above. The 'function'
does not open the curly brace at the EOL, but the 'if' does.
Yeah, that's pretty much the definition of the OTBS. :)
I'm not sure why I find it so
[snip]
They use the One True Brace Style,
which is encouraging:
function fooFunction($arg1, $arg2 = '')
{
if (condition) {
statement;
}
return $val;
}
[/snip]
At the risk of starting a flame/religious/holy war I find the
[snip]
Just a remark but isn't it pointless to use Hungariannotation in a
language that is by default typeless???
[/snip]
We use it becuase we have a group of programmers, so the notation makes
it easier for one in the group to understand the intention of another in
the group. The notation also
* Thus wrote jsWalter ([EMAIL PROTECTED]):
Is there a style guide for coding practices used when creating code to be
shared with the community?
The rule is to code they way the community has been coding.
if the indent like such:
if ($var)
{
//blah
}
Dont change it to no matter how
Is there a style guide for coding practices used when creating code to be
shared with the community?
PEAR has some, http://pear.php.net/manual/en/standards.php
I gave them a cursory glance, and they seem to be pretty solid -- in line
with standards that I used for the past year or so after
Is there a style guide for coding practices used when creating code to be
shared with the community?
Walter
--
Ankh if you love Isis.
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
16 matches
Mail list logo