Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:39859 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 96281 invoked from network); 12 Aug 2008 06:50:23 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 12 Aug 2008 06:50:23 -0000 Authentication-Results: pb1.pair.com smtp.mail=lstrojny@php.net; spf=unknown; sender-id=unknown Authentication-Results: pb1.pair.com header.from=lstrojny@php.net; sender-id=unknown Received-SPF: unknown (pb1.pair.com: domain php.net does not designate 78.46.69.2 as permitted sender) X-PHP-List-Original-Sender: lstrojny@php.net X-Host-Fingerprint: 78.46.69.2 milch.schokokeks.org Received: from [78.46.69.2] ([78.46.69.2:53969] helo=milch.schokokeks.org) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id F7/53-04075-DA231A84 for ; Tue, 12 Aug 2008 02:50:23 -0400 Received: from [192.168.0.101] (xdsl-87-78-217-47.netcologne.de [::ffff:87.78.217.47]) (AUTH: PLAIN lars@schokokeks.org, TLS: TLSv1/SSLv3,256bits,CAMELLIA256-SHA) by milch.schokokeks.org with esmtp; Tue, 12 Aug 2008 08:50:18 +0200 id 000000000000C00E.0000000048A132AA.000033FB To: Etienne Kneuss Cc: Stanislav Malyshev , hannes.magnusson@gmail.com, Lukas Kahwe Smith , Marcus Boerger , internals@lists.php.net In-Reply-To: References: <909776579.20080803142659@marcus-boerger.de> <840985F2-A701-4BE4-91F6-F6B39048CF9B@pooteeweet.org> <48A09FF4.1030101@zend.com> <7f3ed2c30808111411t51553771j389f05c3436bc625@mail.gmail.com> <48A0C415.9090104@zend.com> <48A0D579.2000000@zend.com> <48A0DBAE.2010401@zend.com> Date: Tue, 12 Aug 2008 08:50:16 +0200 Message-ID: <1218523816.8878.8.camel@localhost> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="=_milch.schokokeks.org-13307-1218523819-0001-2" X-Mailer: Evolution 2.22.3.1 Subject: Re: [PHP-DEV] Inconsistencies in 5.3 From: lstrojny@php.net (Lars Strojny) --=_milch.schokokeks.org-13307-1218523819-0001-2 Content-Type: text/plain Content-Transfer-Encoding: quoted-printable Hello everybody, Am Dienstag, den 12.08.2008, 03:04 +0200 schrieb Etienne Kneuss: [...] > To me >=20 > namespace A { > code > } >=20 > namespace B { > code > } >=20 > code >=20 > seems equivalent to >=20 > namespace A; > code > namespace B; > code > namespace ; > code >=20 > Only nicer. And I can hardly how it's going to cause more problems? > But if that's so, fine. [...] Just one thing: we developed around 50.000 lines of code with the current namespace syntax and it was neither confusing nor inconsistent to use. I'm very happy with the current syntax and I would like to just leave it as it is. Also I'm really against the curly braces: the issue is, that we would indent the single class in the file then as otherwise the sense of braces would be caricatured: we indent to make sure we can easily distinguish control structures. But if we indent the content of a namespace, we will have less characters until the magic 80-100 character border and therefore we will have linebreaks in conditions which makes them hard to read. cu, Lars --=_milch.schokokeks.org-13307-1218523819-0001-2 Content-Type: application/pgp-signature; name="signature.asc" Content-Transfer-Encoding: 7bit Content-Description: Dies ist ein digital signierter Nachrichtenteil -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.8 (GNU/Linux) iQIcBAABAgAGBQJIoTKoAAoJECQPF+sCY6wHwLAP/2zDedUI4zTwufEoaJSFws7S /wWi9WfS2IDahjGi4oaGg/QlNQ/phHuTSX5SPayXKB8eqvL6Grhy3IcpoAQLz9br FWiamnQ03bio0/2hnkL0LX00c9YE6OeTQA9Bogi1QTcj0iOS+qcEpXd7Jal4x9hD 740ejPzP4A2F7McVzKcPJEIF4WhezTZYGeIFxjXSMyR9bHRm//RALTKgayfHHUXW 7RWsMpkmoyJql/xcOfnQYoL3+NZaf/ZR3fVDQNQ878xyCHm4Yq2hgxxpEs+DRczw MhhNBG2Nd3NiJPiF2Y+cvIk7eGA58eFyvgHl9PRWM+G4AbAsxzed5NU7voOkhvWE 09+Y8DvyGfOHQu4WNtS5kbLt/D1FUnTD/5i++xtYGn+PJJAhHBvOEJdckzSsyqzM 5b8QK1+xoceTseWFMXUMyLA6gN8o3mVEBkP6qHnO9P4wWlu7CRSFrJXslo92RMDx 0X+5n/k5gEydCO+pHHv8f3P/XqP1lQzJfvZPzUksmyS4E6plBH6UCChPhMFBjy0W t6tc2N5oBp6jJSwO6oq3W4jYE0RS+oDw+wqO4hj7QIJrlFjAoiJMawvEO3w/OMHM Sin56oRh482iNBIvoUXpON3lgRxqH8D1dLWlIoNXCntK9TTnMtWZjm30j12+VgD/ Wt/7f43s0y7CGAbJNNxI =CkaC -----END PGP SIGNATURE----- --=_milch.schokokeks.org-13307-1218523819-0001-2--