Re: [PATCH] Clean up struct initalizations

From: Date: Tue, 27 Nov 2007 18:26:25 +0000
Subject: Re: [PATCH] Clean up struct initalizations
References: 1 2 3 4 5 6 7 8  Groups: php.internals 
Request: Send a blank email to internals+get-33465@lists.php.net to get a copy of this message
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

« previous php.internals (#33465) next »