Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:52279 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 54274 invoked from network); 11 May 2011 08:12:17 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 11 May 2011 08:12:17 -0000 Authentication-Results: pb1.pair.com smtp.mail=dukeofgaming@gmail.com; spf=pass; sender-id=pass Authentication-Results: pb1.pair.com header.from=dukeofgaming@gmail.com; sender-id=pass; domainkeys=bad Received-SPF: pass (pb1.pair.com: domain gmail.com designates 209.85.160.170 as permitted sender) DomainKey-Status: bad X-DomainKeys: Ecelerity dk_validate implementing draft-delany-domainkeys-base-01 X-PHP-List-Original-Sender: dukeofgaming@gmail.com X-Host-Fingerprint: 209.85.160.170 mail-gy0-f170.google.com Received: from [209.85.160.170] ([209.85.160.170:45691] helo=mail-gy0-f170.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id C0/A1-45512-0E44ACD4 for ; Wed, 11 May 2011 04:12:17 -0400 Received: by gyb11 with SMTP id 11so100340gyb.29 for ; Wed, 11 May 2011 01:12:14 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc:content-type; bh=GKlQcqB3R6Vm2rS+6IGDQEebNdSHsqSiyKsN0UEUz4k=; b=wVeWGbbTAinCdNH+LR+5Jk6XOm8PfKzM5klY9Y19/Dnj2ECibTGzGoJZjVyFJeabVb 02FL2nqLPIJxTL4WEtvyKvndhvhsJWf+sBwBjIK0pbWKM0uisyn1oEMoEXu50udM3vwz PZY7lChEHQWA31UMPE4bTFSoKA83YxpgNKVe0= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc:content-type; b=tOsKLmz6mC63xT50zqqQtXvHAZXsNjH1iTJzhPXLmcoda1I0FGH58Ssjz/qrPTPbSG T1TZstc+rIMx+FD0oBid9hfXdQXmqo0lJOQkWUVYu+uXh2V21E5xMmC7/g0tFCKki2mq yObfdMNYczc/WItTtz+UQWxjfNVKcgHGsuNW0= Received: by 10.91.201.1 with SMTP id d1mr7602996agq.205.1305101534255; Wed, 11 May 2011 01:12:14 -0700 (PDT) MIME-Version: 1.0 Received: by 10.100.108.6 with HTTP; Wed, 11 May 2011 01:11:54 -0700 (PDT) In-Reply-To: <4DCA41DD.3020606@toolpark.com> References: <4DC826B1.4090806@lerdorf.com> <4DC82A36.8090604@lerdorf.com> <4DC83401.2090202@sugarcrm.com> <4DC8D122.3050507@lsces.co.uk> <4DC8F125.2010503@toolpark.com> <4DC94753.9040800@toolpark.com> <4DCA3492.7000209@toolpark.com> <4DCA41DD.3020606@toolpark.com> Date: Wed, 11 May 2011 03:11:54 -0500 Message-ID: To: Lars Schultz Cc: PHP internals Content-Type: multipart/alternative; boundary=001636af00ac5859a704a2fba127 Subject: Re: [PHP-DEV] annotations again From: dukeofgaming@gmail.com (dukeofgaming) --001636af00ac5859a704a2fba127 Content-Type: text/plain; charset=ISO-8859-1 On Wed, May 11, 2011 at 2:59 AM, Lars Schultz wrote: > Am 11.05.2011 09:35, schrieb dukeofgaming: > > Que?. Are you aware that you cannot implement interface methods?. >> > Sorry. my bad. I mixed implementation with specification, but it would > work, no? > > Eh, well, in a weird and complex way I'd guess =P. If it were about implementing a workaround to annotations for class metadata I'd use mixins and magic methods, but that doesn't win over annotations, not by a long shot. > I really think the dilemma of whether annotations are useful or not is >> moot. >> > What an argument. I'm not saying they are not useful. I am saying they can > be done with what we already have. I've got tons of code which could run > faster if the core-devs finally decided to take my aproach over theirs...;) > > Also citings of .NET and Java makes me wanna scream, because I don't want > those languages. I want PHP, which has been my faithful servant for over 12 > years! > I rarely use Java, I personally hate .NET, and PHP is the language that has been giving me my bread and butter since I started as a developer. I'm just saying that as far as language design goes, this is not something new and it has been succesfully taken advantage of for years. Also, and if I'm not mistaken, PHP has already taken from Java's example with exceptions and the interfaces you love =P. --001636af00ac5859a704a2fba127--