Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:33465 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 18545 invoked by uid 1010); 27 Nov 2007 18:26:35 -0000 Delivered-To: ezmlm-scan-internals@lists.php.net Delivered-To: ezmlm-internals@lists.php.net Received: (qmail 18528 invoked from network); 27 Nov 2007 18:26:35 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 27 Nov 2007 18:26:35 -0000 Authentication-Results: pb1.pair.com smtp.mail=stas@zend.com; spf=pass; sender-id=pass Authentication-Results: pb1.pair.com header.from=stas@zend.com; sender-id=pass Received-SPF: pass (pb1.pair.com: domain zend.com designates 212.25.124.162 as permitted sender) X-PHP-List-Original-Sender: stas@zend.com X-Host-Fingerprint: 212.25.124.162 mail.zend.com Windows 2000 SP4, XP SP1 Received: from [212.25.124.162] ([212.25.124.162:41276] helo=mx1.zend.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 91/90-09419-A516C474 for ; Tue, 27 Nov 2007 13:26:34 -0500 Received: from us-ex1.zend.com ([192.168.16.5]) by mx1.zend.com with Microsoft SMTPSVC(6.0.3790.3959); Tue, 27 Nov 2007 20:26:30 +0200 Received: from [192.168.16.91] ([192.168.16.91]) by us-ex1.zend.com with Microsoft SMTPSVC(6.0.3790.1830); Tue, 27 Nov 2007 10:26:25 -0800 Message-ID: <474C6151.3050003@zend.com> Date: Tue, 27 Nov 2007 10:26:25 -0800 Organization: Zend Technologies User-Agent: Thunderbird 2.0.0.9 (Windows/20071031) MIME-Version: 1.0 To: Andy Lester CC: Ilia Alshanetsky , Alexey Zakhlestin , internals@lists.php.net References: <20071127074757.GA25945@petdance.com> <474BDAF8.6020308@zend.com> <9AFAC4FC-6B0A-4917-8C5F-9DEA4827B3AB@petdance.com> In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-OriginalArrivalTime: 27 Nov 2007 18:26:25.0839 (UTC) FILETIME=[050CA3F0:01C83123] Subject: Re: [PHP-DEV] [PATCH] Clean up struct initalizations From: stas@zend.com (Stanislav Malyshev) > My goal here is to improve long-term maintainability of the code, by I don't see how unwrapping all structures in initializers improves maintainability. If anything, it actually makes code harder to maintain - now on any change you need to go over all the code and fix all the initializers - a ton of completely meaningless work since a compiler can do it for you and the standard specifically provides means to do it. Now if there were non-zero initializers, that would be different, but with zero inits I don't see any reason not to leave them be. -- Stanislav Malyshev, Zend Software Architect stas@zend.com http://www.zend.com/ (408)253-8829 MSN: stas@zend.com