Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:99483 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 55194 invoked from network); 10 Jun 2017 19:34:48 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 10 Jun 2017 19:34:48 -0000 Authentication-Results: pb1.pair.com header.from=php@fleshgrinder.com; sender-id=unknown Authentication-Results: pb1.pair.com smtp.mail=php@fleshgrinder.com; spf=permerror; sender-id=unknown Received-SPF: error (pb1.pair.com: domain fleshgrinder.com from 77.244.243.82 cause and error) X-PHP-List-Original-Sender: php@fleshgrinder.com X-Host-Fingerprint: 77.244.243.82 mx101.easyname.com Received: from [77.244.243.82] ([77.244.243.82:43919] helo=mx101.easyname.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id F9/97-01593-6D94C395 for ; Sat, 10 Jun 2017 15:34:46 -0400 Received: from cable-81-173-132-37.netcologne.de ([81.173.132.37] helo=[192.168.178.20]) by mx.easyname.com with esmtpsa (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.84_2) (envelope-from ) id 1dJm9h-0001Or-RJ; Sat, 10 Jun 2017 19:34:43 +0000 References: <990f6d85-e3ed-05a4-42e0-d3a279c0ebe7@fleshgrinder.com> <277f53cd-0e79-6fcc-fa4b-b0527ca525b6@fleshgrinder.com> <3515b508-4571-0d57-6b47-616cae0b0908@fleshgrinder.com> To: php-internals , Levi Morrison Message-ID: <0f4a44c1-67b4-b107-c0b6-f2ae7554167a@fleshgrinder.com> Date: Sat, 10 Jun 2017 21:34:39 +0200 User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:52.0) Gecko/20100101 Thunderbird/52.1.1 MIME-Version: 1.0 In-Reply-To: Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="CMQVb7QAUbwgb6l2BDt768jeWDHmWvelO" X-DNSBL-PBLSPAMHAUS: YES Subject: Re: [PHP-DEV] [RFC] [Discussion] Namespaces in Core From: php@fleshgrinder.com (Fleshgrinder) --CMQVb7QAUbwgb6l2BDt768jeWDHmWvelO Content-Type: multipart/mixed; boundary="btqHOQPBpbtnn0sL2PBNIHQbd7ltPkMxM"; protected-headers="v1" From: Fleshgrinder To: php-internals , Levi Morrison Message-ID: <0f4a44c1-67b4-b107-c0b6-f2ae7554167a@fleshgrinder.com> Subject: Re: [PHP-DEV] [RFC] [Discussion] Namespaces in Core References: <990f6d85-e3ed-05a4-42e0-d3a279c0ebe7@fleshgrinder.com> <277f53cd-0e79-6fcc-fa4b-b0527ca525b6@fleshgrinder.com> <3515b508-4571-0d57-6b47-616cae0b0908@fleshgrinder.com> In-Reply-To: --btqHOQPBpbtnn0sL2PBNIHQbd7ltPkMxM Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: quoted-printable On 6/10/2017 9:24 PM, Levi Morrison wrote: > If we were starting from scratch maybe we'd do as you are proposing. > However, there is absolutely zero value in these specific things being > namespaced *anywhere*: >=20 > - Arrays > - Reflection > - Strings > - IO >=20 > We already have established conventions and prefixes around these. > Moving them to a namespace has zero value. >=20 > I'm not sure what logging you are talking about for PHP. >=20 > That leaves UUID, which I am fine with having its own namespace if > there are enough functions, constants, classes, etc to support it. >=20 These are examples!?! I see no reason to limit our thoughts and imagination here. This is a proposal for the future of PHP, for whatever might come. Limiting us seems more than counterproductive to me. Array, Bool, Int, Float, String, ... all of them are valid things to think about. Not only as an intellectual game, but also in the light of _scalar objects_ [1]. [1] https://github.com/nikic/scalar_objects PS: Moving of anything that already exists was never mentioned, implied, or part of the proposal. This is something Levi just brought up and I want to repudiate myself in the strongest terms from moving anything! --=20 Richard "Fleshgrinder" Fussenegger --btqHOQPBpbtnn0sL2PBNIHQbd7ltPkMxM-- --CMQVb7QAUbwgb6l2BDt768jeWDHmWvelO Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v2 iQIcBAEBCAAGBQJZPEnQAAoJEOKkKcqFPVVrc10P/0WQ1MSCVyc7LtCHVkTzsg5a zJrdDrtLbIT/dZ7NOiZmfQ5z70utaXlt+a3c+1zOQ0TfdkA8wF9R3V+bJYHP07d4 0VD0YE/0zBKvA87W8M0obOknLepbl/6Gj4gqTnZVuU5CpnJno2R0N4OJa9labPHn cwRk4bAxMK/oB8OXy7deVuafnB18uUMarLiYIlMkN5F3KxEoGcrC543SMHvC5e1O vLpU0V1BAgCsYePBauaNN/H+i4KhhTgoXfTbn0g6LRqRz8ABrnpZb1HNbgFa1etn 8kjPjwNiQkiDI4z/brV/AwCz7WeRK/GgPkH67OazDLDs94oRBTyfprZkJnTG7p2P pDad+Ro8gJfOo7m7SlN3WJBrSLRfnxqdgGA954tVX9zYAqYELZ2IRzPBDv5zwkJg 1Mseoeh4Ki1U14IjbzylSlZJqrb9+KlQeALUOi4Dp39bhdCKdS80TX+plL3jDc4S HtRTob5Gw/MdVuQVy280agLF7wOZBRCzOaoIXWW0IvZXzXOS/gRO46Ww5/japRYG cOEc8EG4crwp/mLCLVHgtG438l4xKN8n3Yoh5ymLfXmzKsGYk38lQ/qVqcEM1dne 7O4ZSSlGiUzK7Rj+abyBBGBqeoY+tXOTKX5dD6wKeaXYlG8NGqDInLSuhguVLF+G Mj4+ZmK9iyE+tEyb8A/i =aSYy -----END PGP SIGNATURE----- --CMQVb7QAUbwgb6l2BDt768jeWDHmWvelO--