Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:52187 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 49260 invoked from network); 10 May 2011 00:25:44 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 10 May 2011 00:25:44 -0000 Authentication-Results: pb1.pair.com header.from=lester@lsces.co.uk; sender-id=unknown Authentication-Results: pb1.pair.com smtp.mail=lester@lsces.co.uk; spf=permerror; sender-id=unknown Received-SPF: error (pb1.pair.com: domain lsces.co.uk from 213.123.26.184 cause and error) X-PHP-List-Original-Sender: lester@lsces.co.uk X-Host-Fingerprint: 213.123.26.184 c2beaomr06.btconnect.com Received: from [213.123.26.184] ([213.123.26.184:42776] helo=mail.btconnect.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 29/85-14908-60688CD4 for ; Mon, 09 May 2011 20:25:43 -0400 Received: from host81-138-11-136.in-addr.btopenworld.com (EHLO _10.0.0.4_) ([81.138.11.136]) by c2beaomr06.btconnect.com with ESMTP id CZG26615; Tue, 10 May 2011 01:25:39 +0100 (BST) Message-ID: <4DC88602.30400@lsces.co.uk> Date: Tue, 10 May 2011 01:25:38 +0100 User-Agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.1.18) Gecko/20110320 SUSE/2.0.13-1.2 SeaMonkey/2.0.13 MIME-Version: 1.0 To: PHP internals References: <4DC826B1.4090806@lerdorf.com> <4DC82A36.8090604@lerdorf.com> <4DC85FBE.2060005@lsces.co.uk> In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Mirapoint-IP-Reputation: reputation=Fair-1, source=Queried, refid=tid=0001.0A0B0302.4DC88602.008D, actions=TAG X-Junkmail-Premium-Raw: score=7/50, refid=2.7.2:2011.5.9.233915:17:7.586, ip=81.138.11.136, rules=__MOZILLA_MSGID, __HAS_MSGID, __SANE_MSGID, __USER_AGENT, __MIME_VERSION, __TO_MALFORMED_2, __ADULT_SUBJ_LO_3, __BOUNCE_CHALLENGE_SUBJ, __BOUNCE_NDR_SUBJ_EXEMPT, __CT, __CT_TEXT_PLAIN, __CTE, __ANY_URI, __FRAUD_BODY_WEBMAIL, __CP_URI_IN_BODY, BODYTEXTP_SIZE_3000_LESS, BODY_SIZE_2000_2999, __MIME_TEXT_ONLY, RDNS_GENERIC_POOLED, BODY_SIZE_5000_LESS, RDNS_SUSP_GENERIC, RDNS_SUSP, __FRAUD_WEBMAIL, BODY_SIZE_7000_LESS X-Junkmail-Status: score=10/50, host=c2beaomr06.btconnect.com X-Junkmail-Signature-Raw: score=unknown, refid=str=0001.0A0B020A.4DC88603.008D,ss=1,fgs=0, ip=0.0.0.0, so=2010-07-22 22:03:31, dmn=2009-09-10 00:05:08, mode=multiengine X-Junkmail-IWF: false Subject: Re: [PHP-DEV] Please let's not bitch about lazy users not learning C to implement THEIR missing feature. (Was Re: [PHP-DEV] 5.4 again) From: lester@lsces.co.uk (Lester Caine) 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 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