Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:64846 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 76283 invoked from network); 11 Jan 2013 04:13:40 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 11 Jan 2013 04:13:40 -0000 Authentication-Results: pb1.pair.com header.from=dukeofgaming@gmail.com; sender-id=pass Authentication-Results: pb1.pair.com smtp.mail=dukeofgaming@gmail.com; spf=pass; sender-id=pass Received-SPF: pass (pb1.pair.com: domain gmail.com designates 209.85.223.169 as permitted sender) X-PHP-List-Original-Sender: dukeofgaming@gmail.com X-Host-Fingerprint: 209.85.223.169 mail-ie0-f169.google.com Received: from [209.85.223.169] ([209.85.223.169:52113] helo=mail-ie0-f169.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 21/A5-02684-1719FE05 for ; Thu, 10 Jan 2013 23:13:37 -0500 Received: by mail-ie0-f169.google.com with SMTP id c14so1859488ieb.28 for ; Thu, 10 Jan 2013 20:13:35 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=x-received:mime-version:in-reply-to:references:from:date:message-id :subject:to:cc:content-type; bh=XK+B20dK5d9dny61pbdYT+9t6bq/BK6mlzR8esOlIu0=; b=M1Yyxe2kSxGJvDWVzPz1ck0HBkp78aReuGDqubJEr7D2OOxvvfhSaYFID2TIXttfvF ocgM4D1ze/P6BrIzXo6rUcEQ7Qrwns/yxXKBd/q75Nf6AsVJ7RJXhaUe2lwk90nrF7tQ 8K3HZjE/9HrSgwZpwqjaCQ/6AwheB5TGWiF2sgEaqt2DczxZXwBFvtPEO//Z2+wZgxKH kJwdRpsx6L18vJKa9R8WXNMCnHfPKh8p0l28ZHJKoq4W8KsUdlVkgE/5xZgWkKTEv7uz lZ7lN/ayJ+h8vU3qLeHb6Ll/NBiMbunCudw8yuMokLa63tRR6m6LN5n5F+YlVV8Bm+5B bpUQ== X-Received: by 10.50.53.226 with SMTP id e2mr7995645igp.92.1357877614960; Thu, 10 Jan 2013 20:13:34 -0800 (PST) MIME-Version: 1.0 Received: by 10.50.46.225 with HTTP; Thu, 10 Jan 2013 20:13:14 -0800 (PST) In-Reply-To: References: <50EF2634.9030008@sugarcrm.com> Date: Thu, 10 Jan 2013 22:13:14 -0600 Message-ID: To: "guilhermeblanco@gmail.com" Cc: Stas Malyshev , Pierre Joye , PHP internals Content-Type: multipart/alternative; boundary=f46d043d6495e35ec304d2fb84ba Subject: Re: [PHP-DEV] A remark about PHP's Vision and new things. From: dukeofgaming@gmail.com (dukeofgaming) --f46d043d6495e35ec304d2fb84ba Content-Type: text/plain; charset=ISO-8859-1 Hi, I suggest you start defining action items in the RFC. After reading what Stas and others say, this looks like too big a task to discuss in itself, so it should be definitely be broken down. You will probably find that as it is broken down, actual development support will surface by itself. Regards, David On Thu, Jan 10, 2013 at 9:49 PM, guilhermeblanco@gmail.com < guilhermeblanco@gmail.com> wrote: > Stas, > > I totally agree and Pierrick and I faced all these problems during the > creation of patch. > If PHP doesn't all have support required for a given feature, let's just > not only discuss feature, but also the required support too. Named > parameters is a great example. I'd also name another one, > ReflectionNamespace; namespaces are converted to strings and attached to > their classes during compile time and you can never reflect over them to > grab for example their names. > I even mentioned to Andi back in 2010 that ZE gets re-written every 5 > years. That happened in 2000, 2005 and we're now hitting walls because of > "monster" changes required to implement feature A or B. Maybe it's time to > consider a rewrite again? > > Cheers, > > > On Thu, Jan 10, 2013 at 3:36 PM, Stas Malyshev >wrote: > > > Hi! > > > > > I strongly suggest to anyone following the (too many) threads about > > > annotations to try the C# annotation and see what it allows. It goes > > > > As far as I can see, C# annotations rely on two very important things: > > 1. Compiler support. Compiler really knows a lot about what annotations > do. > > 2. Extensive library support. Annotations themselves are just passive > > metadata, what makes them work is .net framework that uses them. > > > > This means to make annotations as useful in PHP we would have to have > > substantial support in the engine (including bytecode caching > > provisions, etc.) and some libraries that require very > > latest-and-greatest version of PHP. > > > > Another thing is that we're not having some features that are used > > extensively in C# annotations, main being named parameters support. > > > > I am saying this not to oppose the idea of annotations or the idea of > > looking into C# and other languages (actually, I think anybody who talks > > about it should look at least into what C# and Java do with it - and > > also what Python does, which is completely different direction, just to > > know other options). I'm just saying porting this to PHP may be less > > than straightforward. > > > > -- > > Stanislav Malyshev, Software Architect > > SugarCRM: http://www.sugarcrm.com/ > > (408)454-6900 ext. 227 > > > > -- > > PHP Internals - PHP Runtime Development Mailing List > > To unsubscribe, visit: http://www.php.net/unsub.php > > > > > > > -- > Guilherme Blanco > MSN: guilhermeblanco@hotmail.com > GTalk: guilhermeblanco > Toronto - ON/Canada > --f46d043d6495e35ec304d2fb84ba--