Re: A critique of PHP 6
| From: | Alain Williams | Date: | Wed, 21 Apr 2010 18:18:36 +0000 |
| Subject: | Re: A critique of PHP 6 | ||
| References: | 1 2 3 4 5 6 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-48049@lists.php.net to get a copy of this message | ||
On Wed, Apr 21, 2010 at 10:36:55AM -0700, Stanislav Malyshev wrote:
> Hi!
>
> > \_array\merge($array, $array2);
> > \_string\len($string);
>
> how it's better or more clean than array_merge or strlen? I am a big fan
> of OO and use it all the time, but there's a virtue in moderation - if
> you just want a length of a string, you son't have to build class
> hierachy with design patterns on top to do it - just take the length of
> the string!
I agree with you.
I just wanted to avoid namespace name pollution by proposing a reservation
of some of the name space *IF* this idea goes ahead -- I do not think
that it is a good idea - for the reasons that I gave when this was first proposed.
--
Alain Williams
Linux/GNU Consultant - Mail systems, Web sites, Networking, Programmer, IT Lecturer.
+44 (0) 787 668 0256 http://www.phcomp.co.uk/
Parliament Hill Computers Ltd. Registration Information: http://www.phcomp.co.uk/contact.php
Past chairman of UKUUG: http://www.ukuug.org/
#include <std_disclaimer.h>