Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:10605 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 26578 invoked by uid 1010); 18 Jun 2004 19:37:23 -0000 Delivered-To: ezmlm-scan-internals@lists.php.net Delivered-To: ezmlm-internals@lists.php.net Received: (qmail 26492 invoked from network); 18 Jun 2004 19:37:22 -0000 Received: from unknown (HELO dydimus.dreamhost.com) (66.33.197.17) by pb1.pair.com with SMTP; 18 Jun 2004 19:37:22 -0000 Received: from [192.168.0.152] (mail.appliedsec.com [69.17.65.231]) by dydimus.dreamhost.com (Postfix) with ESMTP id 082304F89B; Fri, 18 Jun 2004 12:37:21 -0700 (PDT) Message-ID: <40D34474.1020805@velum.net> Date: Fri, 18 Jun 2004 15:37:24 -0400 User-Agent: Mozilla Thunderbird 0.6 (Windows/20040502) X-Accept-Language: en-us, en MIME-Version: 1.0 To: Marcus Boerger Cc: internals@lists.php.net References: <20040615112747.27402.qmail@pb1.pair.com> <40CEDECA.9040600@cschneid.com> <40D05892.6090804@memefeeder.com> <913185304.20040616211716@marcus-boerger.de> <40D19B3E.4030802@memefeeder.com> <4210590559.20040617205826@marcus-boerger.de> <40D2FF04.3010003@velum.net> <8710223113.20040618204047@marcus-boerger.de> <40D33F63.6050105@velum.net> <1611336301.20040618212414@marcus-boerger.de> In-Reply-To: <1611336301.20040618212414@marcus-boerger.de> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Subject: Re: [PHP-DEV] Re: ClassHints and NULL From: hans@velum.net (Hans Lellelid) Hi Marcus, Marcus Boerger wrote: > Hello Hans, > > Friday, June 18, 2004, 9:15:47 PM, you wrote: > >>>>Of course, namespaces are more important than anything ;) >>> >>> >>>hehe, could you live with packages? > > >>Probably! yeah :) -- what's the difference? Are namespaces more like >>what's implement in C#/.NET (i.e. no necessary correspondence between >>namespace and actual assembly used to provide them) and packages >>something more like Java? Forgive my ignorance & if there's already a >>thread on this, just say so :) > > > something alike but without inner classes (of course) > Well, in short, I'd be very strongly in favor of anything that would solve the name collision issues in PHP. The current PEAR system of building classnames from catogires (HTML_Template_Flexy) is IMHO a huge & clumsy hack. I think the lack of namespace support is the main (perhaps only) language barrier to packaging & distributing libraries. I'm less concerned about packages (if that means Java-like systems of mapping namespace to filesystem), but if this solves the problem then great (!) From reactions I've read from people using PHP5 now, namespaces is one thing that people are *really* hoping makes it into CVS for 5.1. I'm certainly one of those people. That's not to take away from the fact that everyone appreciates all the fine work you've done with PHP5. I certainly do. Cheers, Hans