Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:99479 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 48620 invoked from network); 10 Jun 2017 18:54:38 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 10 Jun 2017 18:54:38 -0000 Authentication-Results: pb1.pair.com smtp.mail=morrison.levi@gmail.com; spf=pass; sender-id=pass Authentication-Results: pb1.pair.com header.from=morrison.levi@gmail.com; sender-id=pass Received-SPF: pass (pb1.pair.com: domain gmail.com designates 209.85.223.177 as permitted sender) X-PHP-List-Original-Sender: morrison.levi@gmail.com X-Host-Fingerprint: 209.85.223.177 mail-io0-f177.google.com Received: from [209.85.223.177] ([209.85.223.177:35953] helo=mail-io0-f177.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 0E/46-01593-D604C395 for ; Sat, 10 Jun 2017 14:54:38 -0400 Received: by mail-io0-f177.google.com with SMTP id y77so42856153ioe.3 for ; Sat, 10 Jun 2017 11:54:37 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:sender:in-reply-to:references:from:date:message-id :subject:to:cc; bh=Qz2v1KRWSE10E/umwHWPooJ2WEDNVnR0qa0yedL7u2E=; b=L3Lqqn1VYnk+CKp83PZ6ee78gG3/qhNBmegQlgeD0yfmjRhXoRzZXT6x7cM9kW2KWs Eg9rlD2Cfkze+8DhH22PevgCUgPzGebaZDIFKKXvVTIoJm1k9xoKsDPeSWSGbdYZQrkV 0tTd/Ks0xPE5xbyKgvFCiZLwPM4QNcNrctj51i2KyhwpsK9MbgTbngoR5QF68Td0x1lo NB/Ko4jod3QU+1ulomRMxU/py4lCJJEuYVG1TluiVWXlKkwEljW1LkvXb5s0kO1Zo0Ie 9idvS3veoWq8KWVSfuuTryuKgyQUlDFKlo1rCA8IjgxR8QL6+sqpu+pgM3drFBOdkC/H Iy5A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:sender:in-reply-to:references:from :date:message-id:subject:to:cc; bh=Qz2v1KRWSE10E/umwHWPooJ2WEDNVnR0qa0yedL7u2E=; b=EbHfywUJI4HnFUUvulVVWBRcKE2xkDcDWw83Ss4iI0KJQpt/5HoT1qrW9ZXQUlJcn+ K0TjZlfcCr/Splcc+0c63bAT2lkit6UAaNmX2BotvSrkxmFZLSJgaTsCpEZY0g0d1x1p Tm4azrJjkMfp0WY4LbsNfLl6ziCnY1DF9wDLYLhOxD0PPZ675uqBfkcP+uMC2BX+p/nO 2iV876oHVcqXWDaj9NdEV0LcjnMhMej2M0obTqRkp0b+s0HxUm16qPjOQLXWXacGRu0r RqeKUGYf6EoPC8IAoU0DGRVbXQbyM2EJyVWFhffQrWz7RpP0rwjTUvkfkhPTTArL8Vx7 vOhQ== X-Gm-Message-State: AODbwcDNuFPctmii3C/r5JfQgazWqpRjUF87arkYSPNHsrDN+jyJ/iBo 0C5j/OXSvsv5JCrKsthaY9bFdeu8Ody1 X-Received: by 10.107.170.99 with SMTP id t96mr41227368ioe.113.1497120874394; Sat, 10 Jun 2017 11:54:34 -0700 (PDT) MIME-Version: 1.0 Sender: morrison.levi@gmail.com Received: by 10.107.12.159 with HTTP; Sat, 10 Jun 2017 11:54:33 -0700 (PDT) In-Reply-To: <277f53cd-0e79-6fcc-fa4b-b0527ca525b6@fleshgrinder.com> References: <990f6d85-e3ed-05a4-42e0-d3a279c0ebe7@fleshgrinder.com> <277f53cd-0e79-6fcc-fa4b-b0527ca525b6@fleshgrinder.com> Date: Sat, 10 Jun 2017 12:54:33 -0600 X-Google-Sender-Auth: mpqrRdZ2VsQjP0n3HqmB6JZFnzE Message-ID: To: Fleshgrinder Cc: php-internals Content-Type: text/plain; charset="UTF-8" Subject: Re: [PHP-DEV] [RFC] [Discussion] Namespaces in Core From: levim@php.net (Levi Morrison) On Sat, Jun 10, 2017 at 12:11 PM, Fleshgrinder wrote: > On 6/3/2017 6:40 PM, Fleshgrinder wrote: >> Next promised RFC (and the last one for this weekend): >> >> https://wiki.php.net/rfc/namespaces-in-core >> >> I am unsure about whether we should avoid the usage of abbreviations for >> things like language (lang), standard (std), and utility (util). I think >> it is not necessary to write them out fully, but, well, ...?!? >> > > Bump, would love some feedback on the RFC and the open issues. Otherwise > this goes into voting and lots of complains pop up. It would be much > more efficient to use the discussion time for that. > > -- > Richard "Fleshgrinder" Fussenegger > I gave this feedback before but I'll repeat it. I support namespaces in the core, with the `PHP` namespace (with whatever capitalization we decide) to be reserved *solely* for things related to the language itself such as lexer, parser, etc. I am fine with other extensions using namespaces but should use appropriately named ones. Using the `PHP` namespace to indicate something is packaged in core is a poor decision. We have moved existing extensions into core and it would not make sense to rename it simply because it was moved into core because it's a backwards compatibility break. Similarly we've moved at least one extension out of core and it doesn't make sense for it to have the `PHP` name when it's not in core, but renaming it is yet other backwards compatibility break. It's simply not prudent. Instead extensions should be named after what they are, the vendor they are for, or some other name; this is the same process user-land packages go through and core should not be different.