Re: Namespaces bug

From: Date: Wed, 26 Mar 2003 18:49:54 +0000
Subject: Re: Namespaces bug
References: 1  Groups: php.internals 
Request: Send a blank email to internals+get-341@lists.php.net to get a copy of this message
Stanislav Malyshev wrote:
DR>> But it *is* confusing (just as function() { function() {} }, but of DR>> course we can not change that anymore). What is the reason of DR>> allowing this 'nested' stuff? Because someone asked for it. I don't see why it is so bad.
That's a bad reason for a bad feature. Syntax should imply functionality. Give that code to someone who's never used/seen php code, and it will imply something completely incorrect. Stuff like this degrades PHP's 'ease of use and learning'. Shane

« previous php.internals (#341) next »