Re: Please let's not bitch about lazy users not learning C to implement THEIR missing feature. (Was Re: [PHP-DEV] 5.4 again)

From: Date: Tue, 10 May 2011 00:25:38 +0000
Subject: Re: Please let's not bitch about lazy users not learning C to implement THEIR missing feature. (Was Re: [PHP-DEV] 5.4 again)
References: 1 2 3 4 5 6 7 8  Groups: php.internals 
Request: Send a blank email to internals+get-52187@lists.php.net to get a copy of this message
guilhermeblanco@gmail.com wrote:
Hi Lester, I updated the RFC. I may have missed one thing or two, but overall idea and how code behave is there. This question is answered on wiki RFC. =) Here is the direct link: https://wiki.php.net/rfc/annotations But there is nothing there that explains why this is any use where we are not compiling code ... and are all things we are already doing with comment blocks ... which CAN be stripped to speed up operation once in a production environment. A compiler simply strips the unnecessary stuff when building the running code, how do you propose PHP does that ? If I want compiled code then I can use any number of other languages, PHP simply runs what I have in the file.
Regards, On Mon, May 9, 2011 at 6:42 PM, Lester Caine<lester@lsces.co.uk> wrote:
guilhermeblanco@gmail.com wrote:
What I thought it could be changed is: - Allow PHP to support it natively and also take advantage of opcode cache - Make API cleaner
Guilherme you still also have to explain WHY we need this. I have a perfectly functional documentation and hinting setup working from docblock entries in several years worth of code. Rewriting all of that would have to have some reason, and working with two systems in parallel does not make sense. My current method of working is well supported in phpeclipse while your new offering will require some major work in phpeclipse and other tools simply to access it? More work for other open source developers who again probably don't need it. So as far as I am concerned I need to be persuaded why this code needs to be IN the core code when I for one can't see any reason to use it. Just because COMPILED languages have it is not a reason to load an interpreted language with it. Adding it as a removable extension might make more sense to me, just as much of the less used code can be disabled if we want. And I was coding in C/C++ long before I switched TO PHP to get away from the problems of using compiled languages for dynamic web based systems.
-- Lester Caine - G8HFL ----------------------------- Contact - http://lsces.co.uk/wiki/?page=contact L.S.Caine Electronic Services - http://lsces.co.uk EnquirySolve - http://enquirysolve.com/ Model Engineers Digital Workshop - http://medw.co.uk// Firebird - http://www.firebirdsql.org/index.php

« previous php.internals (#52187) next »