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? 

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

Attachment: signature.asc
Description: This is a digitally signed message part

Reply via email to