Re: [PHP] dev style guide

2003-08-14 Thread jsWalter
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

Re: [PHP] dev style guide

2003-08-14 Thread Phillip Blancher
: 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

Re: [PHP] dev style guide

2003-08-14 Thread Brent Baisley
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

RE: [PHP] dev style guide

2003-08-14 Thread jsWalter
-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

RE: [PHP] dev style guide

2003-08-14 Thread Chris W. Parker
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

Re: [PHP] dev style guide

2003-08-14 Thread CPT John W. Holmes
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

RE: [PHP] dev style guide

2003-08-14 Thread SLanger
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

RE: [PHP] dev style guide

2003-08-14 Thread Jay Blanchard
[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

RE: [PHP] dev style guide

2003-08-09 Thread Miles Thompson
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

RE: [PHP] dev style guide

2003-08-08 Thread desa15
] cc: [EMAIL PROTECTED] 06/08/2003 13:31Asunto: RE: [PHP] dev style guide

RE: [PHP] dev style guide

2003-08-07 Thread Mike Migurski
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

RE: [PHP] dev style guide

2003-08-06 Thread Jay Blanchard
[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

RE: [PHP] dev style guide

2003-08-06 Thread Jay Blanchard
[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

Re: [PHP] dev style guide

2003-08-05 Thread Curt Zirzow
* 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

Re: [PHP] dev style guide

2003-08-05 Thread Mike Migurski
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

[PHP] dev style guide

2003-08-05 Thread jsWalter
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