Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:39866 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 22681 invoked from network); 12 Aug 2008 09:43:43 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 12 Aug 2008 09:43:43 -0000 Authentication-Results: pb1.pair.com smtp.mail=helly@php.net; spf=unknown; sender-id=unknown Authentication-Results: pb1.pair.com header.from=helly@php.net; sender-id=unknown Received-SPF: unknown (pb1.pair.com: domain php.net does not designate 85.214.94.56 as permitted sender) X-PHP-List-Original-Sender: helly@php.net X-Host-Fingerprint: 85.214.94.56 aixcept.net Linux 2.6 Received: from [85.214.94.56] ([85.214.94.56:58227] helo=h1149922.serverkompetenz.net) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id D4/48-04075-E4B51A84 for ; Tue, 12 Aug 2008 05:43:43 -0400 Received: from MBOERGER-ZRH (unknown [193.142.125.1]) (using TLSv1 with cipher AES256-SHA (256/256 bits)) (No client certificate requested) by h1149922.serverkompetenz.net (Postfix) with ESMTP id C532711F2BB; Tue, 12 Aug 2008 11:43:39 +0200 (CEST) Date: Tue, 12 Aug 2008 11:43:35 +0200 Reply-To: Marcus Boerger X-Priority: 3 (Normal) Message-ID: <775515747.20080812114335@marcus-boerger.de> To: Lars Strojny CC: Etienne Kneuss , Stanislav Malyshev , , Lukas Kahwe Smith , Marcus Boerger , In-Reply-To: <1218523816.8878.8.camel@localhost> 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> <1218523816.8878.8.camel@localhost> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-15 Content-Transfer-Encoding: 8bit Subject: Re: [PHP-DEV] Inconsistencies in 5.3 From: helly@php.net (Marcus Boerger) Hello Lars, Tuesday, August 12, 2008, 8:50:16 AM, you wrote: > Hello everybody, > Am Dienstag, den 12.08.2008, 03:04 +0200 schrieb Etienne Kneuss: > [...] >> To me >> >> namespace A { >> code >> } >> >> namespace B { >> code >> } >> >> code >> >> seems equivalent to >> >> namespace A; >> code >> namespace B; >> code >> namespace ; >> code >> >> 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. So you are saying that the current namespace is not a control structure? And you are also saying that we are python where whitespace has a semantical and syntactical meaning? I am sorry but I have written hundreds of thousands of lines of C++ code and read even more and hardly anyone uses indentation, simply because it has no additional meaning. And if 80 chars still is an issue for you, then I'd suggest to get a decent monitor. Best regards, Marcus