Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:35656 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 21211 invoked by uid 1010); 20 Feb 2008 20:14:45 -0000 Delivered-To: ezmlm-scan-internals@lists.php.net Delivered-To: ezmlm-internals@lists.php.net Received: (qmail 21196 invoked from network); 20 Feb 2008 20:14:45 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 20 Feb 2008 20:14:45 -0000 Authentication-Results: pb1.pair.com header.from=foolistbar@googlemail.com; sender-id=pass; domainkeys=bad Authentication-Results: pb1.pair.com smtp.mail=foolistbar@googlemail.com; spf=pass; sender-id=pass Received-SPF: pass (pb1.pair.com: domain googlemail.com designates 209.85.128.191 as permitted sender) DomainKey-Status: bad X-DomainKeys: Ecelerity dk_validate implementing draft-delany-domainkeys-base-01 X-PHP-List-Original-Sender: foolistbar@googlemail.com X-Host-Fingerprint: 209.85.128.191 fk-out-0910.google.com Received: from [209.85.128.191] ([209.85.128.191:26788] helo=fk-out-0910.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 4E/03-30965-43A8CB74 for ; Wed, 20 Feb 2008 15:14:45 -0500 Received: by fk-out-0910.google.com with SMTP id f33so2573228fkf.7 for ; Wed, 20 Feb 2008 12:14:41 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlemail.com; s=gamma; h=domainkey-signature:received:received:cc:message-id:from:to:in-reply-to:content-type:content-transfer-encoding:mime-version:subject:date:references:x-mailer; bh=/D3eqdXAzjZtPsde7c8Vp3YHYEiloedr+KSmMnWU1AM=; b=JUY+UYV28sr40qB+XdAzVEC0HNyAvV+fFwAyOXwhyUi9pcjNgxcb0OKW1KkKc+5dSbWvDUQuH4LTMXQOAw8t3UrTSiub4fNDnnE3cmeSXWt9AzYx0KsNDhcPv2BisLGXTbFwQlWE4+kSR679ZB5TNnKMLX0yieX7ljPYU7AVPOI= DomainKey-Signature: a=rsa-sha1; c=nofws; d=googlemail.com; s=gamma; h=cc:message-id:from:to:in-reply-to:content-type:content-transfer-encoding:mime-version:subject:date:references:x-mailer; b=oCbl9mvsqK1lfDCiWR+USXrKIbAEfHVuk/ISHycfBDHqnKdn0M1/SAWvQYuYAy+z0cDSOqvY84xJtsLaVI8B72CJjYQeuXyuj9RW52qI51jNpn4RMPT++6E93hu7iszX9nQd4Vp0PwyPPPhIqwwi7K764vR/QI0KTC9k4KqnoC0= Received: by 10.82.166.9 with SMTP id o9mr15434459bue.34.1203538481180; Wed, 20 Feb 2008 12:14:41 -0800 (PST) Received: from ?192.168.0.116? ( [86.151.228.75]) by mx.google.com with ESMTPS id z37sm16714444ikz.1.2008.02.20.12.14.38 (version=TLSv1/SSLv3 cipher=OTHER); Wed, 20 Feb 2008 12:14:39 -0800 (PST) Cc: internals@lists.php.net Message-ID: <1BBB7D29-95A9-4F9B-96DD-9AFEA37F4F71@googlemail.com> To: Sebastian Bergmann In-Reply-To: Content-Type: text/plain; charset=US-ASCII; format=flowed; delsp=yes Content-Transfer-Encoding: 7bit Mime-Version: 1.0 (Apple Message framework v919.2) Date: Wed, 20 Feb 2008 20:14:36 +0000 References: <001c01c87264$3c01b4e0$b4051ea0$@de> <1203461114.24580.45.camel@localhost> X-Mailer: Apple Mail (2.919.2) Subject: Re: [PHP-DEV] RFC: Traits for PHP From: foolistbar@googlemail.com (Geoffrey Sneddon) On 20 Feb 2008, at 07:46, Sebastian Bergmann wrote: > Lars Strojny schrieb: >> I think also for the sake of conceptual integrity separating >> interfaces clearly from traits is a good idea > > Interfaces are about (multiple) interface inheritance and traits are > about (multiple) implementation inheritance. This separation of > interface inheritance and implementation inheritance is ... awesome :) Is there any reason why we cannot support multiple inheritance (which some other languages already do)? The only thing that needs to be clearly defined is sorting order. This avoids trying to create some entirely new functionality to do something where we can simply extend what we already do. -- Geoffrey Sneddon