Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:688 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 28615 invoked from network); 4 Apr 2003 17:17:43 -0000 Received: from unknown (HELO salem) (212.209.116.169) by pb1.pair.com with SMTP; 4 Apr 2003 17:17:43 -0000 Received: from localhost (localhost [127.0.0.1]) (uid 1000) by salem with local; Fri, 04 Apr 2003 19:17:51 +0200 To: jay@php.net Cc: internals@lists.php.net In-Reply-To: <20030404170639.10192.qmail@pb1.pair.com> References: <20030404145236.GA32691@hyperion.gravitonic.com> <1049469044.6067.1.camel@hasele> <20030404160719.GB1558@hyperion.gravitonic.com> <1049475676.28232.615.camel@salem.intra.nobolt.net> <20030404170639.10192.qmail@pb1.pair.com> Organization: Capio ApS Message-ID: <1049476671.28232.629.camel@salem.intra.nobolt.net> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="=_salem-5005-1049476671-0001-2" X-Mailer: Ximian Evolution 1.2.2 Date: 04 Apr 2003 19:17:51 +0200 Subject: Re: [PHP-DEV] Static and non-static methods From: per@nobolt.com (Per Lundberg) --=_salem-5005-1049476671-0001-2 Content-Type: text/plain Content-Transfer-Encoding: quoted-printable On Fri, 2003-04-04 at 19:06, J Smith wrote: > It's been said before, but PHP isn't C++ or Java, so why would they have = to > be compatible?=20 Because it will make it easier for C++ or Java programmers to find PHP a pleasant experience. I think much of the discussion of where PHP should go is a bit misleading, actually. Zeev and Andi (and others probably) believe it is important to keep PHP being easy to learn by newcomers. Yes, of course, I agree to that. Still, I do not come from this kind of background (PHP was my 8th programming language -- Basic, x86 assembly, Pascal, C, C++, Perl and Java in that order) and I really think it is an unwise idea to only focus on being able to learn for people with little or no programming experience. It is equally important, in my eyes, to make it convenient for people with a different background, such as mine. It will make PHP more attractive for advanced programmers. Regarding this specific patch, I think it is a very very good idea since it removes one of the very "weird" features of PHP OO, where I think it is really far too relaxed. This is one of the big weaknesses of Perl I think (ultra-relaxed OO). Of course, the PHP OO in ZendEngine2 is greatly improved, but still, things like this can make experienced OO programmers with C++ or Java background just shudder and say "it's a toy". I don't think that's good. -- Best regards, Per Lundberg / Capio ApS Phone: +46-18-4186040 Fax: +46-18-4186049 Web: http://www.nobolt.com --=_salem-5005-1049476671-0001-2 Content-Type: application/pgp-signature; name="signature.asc" Content-Transfer-Encoding: 7bit Content-Description: This is a digitally signed message part -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.1 (GNU/Linux) iD8DBQA+jb4+TN4aRo9LnpERAq0xAJ44GU3nI9iD6KsmkG6HGsN0wQAEKACfcGai ngjhuxVcKhT9KQuisSA+xak= =O6QG -----END PGP SIGNATURE----- --=_salem-5005-1049476671-0001-2--