Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:84216 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 59205 invoked from network); 3 Mar 2015 07:01:06 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 3 Mar 2015 07:01:06 -0000 Authentication-Results: pb1.pair.com smtp.mail=yohgaki@gmail.com; spf=pass; sender-id=pass Authentication-Results: pb1.pair.com header.from=yohgaki@gmail.com; sender-id=pass Received-SPF: pass (pb1.pair.com: domain gmail.com designates 209.85.192.48 as permitted sender) X-PHP-List-Original-Sender: yohgaki@gmail.com X-Host-Fingerprint: 209.85.192.48 mail-qg0-f48.google.com Received: from [209.85.192.48] ([209.85.192.48:50965] helo=mail-qg0-f48.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 95/01-48125-03C55F45 for ; Tue, 03 Mar 2015 02:01:06 -0500 Received: by mail-qg0-f48.google.com with SMTP id q107so17924728qgd.7 for ; Mon, 02 Mar 2015 23:01:01 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:sender:in-reply-to:references:from:date:message-id :subject:to:cc:content-type; bh=wP+bS8vuXbxWIKbsmm0UIk4LhBJeiwXqumVlI3HXv84=; b=N1vUMJ07+p1C79oRjC5CktD5MHtNEH+EKEDpAlR/s6TXHp/JDNqf+LpcQVgZiI5kqY UFS2A2AYniR5NpuhqvcQPtsNeTC6walFZ2dYNrliug2yWFzc0yuXsM3mgZJgB+3GOqUd nSxlj2zvgiJ+LpBTyXzQlLngqc62O9A0mTxLMj0Weq1sPibVJs8c6jsn/18jtEmvhwLu uS8NRkX/rDw8kcjSukgFJwvzTbfiXa+LFc2Yq/3Ci9XkTnkCxO2gNeb2DvrxhZycCdC+ cwD3/cwpPx08dmPcOnbcBpzKB8mgqGvovoan3XL5EAwrR2QY+keEOEOIlAFA6s5ornuT 0PAw== X-Received: by 10.55.41.219 with SMTP id p88mr9960556qkp.50.1425366061209; Mon, 02 Mar 2015 23:01:01 -0800 (PST) MIME-Version: 1.0 Sender: yohgaki@gmail.com Received: by 10.229.198.8 with HTTP; Mon, 2 Mar 2015 23:00:21 -0800 (PST) In-Reply-To: References: <5E7DF0C5-BCB4-432A-A876-A5057FEBFBB5@gmail.com> <54F320E9.5000706@fischer.name> <54F4159A.6010903@fischer.name> <54F5399E.9080204@gmail.com> Date: Tue, 3 Mar 2015 16:00:21 +0900 X-Google-Sender-Auth: _SHBFO0pacmIiJg36Wop4fayHJQ Message-ID: To: Michael Schuett Cc: Stanislav Malyshev , Markus Fischer , "internals@lists.php.net" Content-Type: multipart/alternative; boundary=001a1146c852c0dd7805105ce56d Subject: Re: [PHP-DEV] Consistent function names From: yohgaki@ohgaki.net (Yasuo Ohgaki) --001a1146c852c0dd7805105ce56d Content-Type: text/plain; charset=UTF-8 Hi Michael, On Tue, Mar 3, 2015 at 3:03 PM, Michael Schuett wrote: > I can't think of any good use case for a bulk import outside of laziness. > Any good IDE will handle this for you and if you are importing as \ then > why don't you just not namespace them in the first place. Bulk import is not important part. Import to root namespace is required to have clean "\" namespace without breaking "old code". We don't have this currently. If we force user to rewrite old code, it is not needed. Let me rephrase, we have module functions/classes defined under "\". Therefore, we'll break almost all apps if we define module functions/classes under "\php\somewhere". It's just an option to cleanup legacy function/class/interface/etc without BC. I'm not enthusiastic for it even if it could give us a lot freedom for API redesign without BC. (at least for now) Regards, -- Yasuo Ohgaki yohgaki@ohgaki.net --001a1146c852c0dd7805105ce56d--