Re: Some PEAR remarks
| From: | Stig S. Bakken | Date: | Thu, 18 Apr 2002 11:16:41 +0000 |
| Subject: | Re: Some PEAR remarks | ||
| References: | 1 2 | Groups: | php.pear.general |
| Request: | Send a blank email to pear-general+get-1178@lists.php.net to get a copy of this message | ||
On Thu, 2002-04-18 at 02:34, Manuel Lemos wrote:
> Hello,
>
> Martin Jansen wrote:
> >
> > On Wed, 17 Apr 2002 15:55:29 +0200, Vincent Oostindie wrote:
> >
> > >On Thu, 18 Apr 2002 02:08:47 +0200, Jason Lotito wrote:
> > >>> A question in advance: why are member variables in PEAR prefixed with a
> > >>> '_'? Sure this is useful in languages like Java or C++ where
> > >>> it's hard
> > >>> to see which variable is a local one, an argument or a member, but in
> > >>> PHP this distinction is already clear: all member variables are
> > >>> prefixed with '$this->' inside a method. And if you use proper
> > >>> encapsulation, member variables are never accessed from anywhere else.
> > >>> (And very, very sadly, this is not the case in the PEAR library!)
> > >>
> > >>
> > >> http://pear.php.net/manual/en/standards.naming.php
> > >
> > >I know that they're following a standard, but I question the standard, not
> > >the fact that PEAR uses it :-)
> >
> > The coding standards have been questioned by a lot people so far,
> > but they all did not succeed :-). A project like PEAR simply needs
> > some guidelines concerning the coding style and we will not change
> > them just because there are some people that don't like them.
> > Please search the mailing list archives (http://marc.theaimsgroup.com/)
> > for the flame wars and endless dicussions concerning this point.
> >
> > PLEASE don't start a yet another useless coding standard discussion.
>
> You are missing Vicent's points.
>
> Vincent bothered to spend time and analyse PEAR code. Then he bothered
> to write a fully justified message with the criticisms that he sees as
> appropriate according to pondered points of view.
>
> What does Vincent get for that?
>
> Hostitlity, hostility and hostility!
>
> This is a very consistent pattern of PEAR people.
Where's the hostility in this thread? Vincent has gotten several decent
and non-hostile answers. Sneaking in a comment like this is very
consistent of Manuel Lemos.
- Stig