Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:64698 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 72409 invoked from network); 8 Jan 2013 18:58:22 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 8 Jan 2013 18:58:22 -0000 Authentication-Results: pb1.pair.com header.from=pierrick@webstart.fr; sender-id=unknown Authentication-Results: pb1.pair.com smtp.mail=pierrick@webstart.fr; spf=permerror; sender-id=unknown Received-SPF: error (pb1.pair.com: domain webstart.fr from 74.125.82.49 cause and error) X-PHP-List-Original-Sender: pierrick@webstart.fr X-Host-Fingerprint: 74.125.82.49 mail-wg0-f49.google.com Received: from [74.125.82.49] ([74.125.82.49:63626] helo=mail-wg0-f49.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id FF/11-16636-C4C6CE05 for ; Tue, 08 Jan 2013 13:58:21 -0500 Received: by mail-wg0-f49.google.com with SMTP id 15so623307wgd.16 for ; Tue, 08 Jan 2013 10:58:17 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type:x-gm-message-state; bh=xJowlu4BPgDGZoIXM1GZzMjHJx47UNLX+b+w3ceb1Uw=; b=n4c1W4JGpJ4AH61VsnU2nrGMGH5+wV72tQUHoTztSTzFfouyLZXAyx9AreV7FxXo5f 5Vp4gOXSeNE2y1vQLQ3/3ItY1zBeeqH+ed0xNfo7MOqQtmMVQcCFIwhyrN8bHcYFl9HH TD4vKTneBth78ZuZpoNzHeanHDX1tmRcU1Yz4R3s7lVuH0l5bBr/EW/W7444b7n1nq9b 5vx6jX9AJ/r9UDS+ToIVX5UjhFCp2/MWCNM+WiY+bZuXfsV8gNWm/aYM4njfnPBeO8II QWEKy49AyyIwZIrvVlz2n9+JXImZfrV6BoDxfRz/AN1MMJxyO8Uei8vqKPwOW83L32Sq 0G9A== MIME-Version: 1.0 Received: by 10.180.107.129 with SMTP id hc1mr16689938wib.34.1357671497102; Tue, 08 Jan 2013 10:58:17 -0800 (PST) Received: by 10.180.98.226 with HTTP; Tue, 8 Jan 2013 10:58:16 -0800 (PST) In-Reply-To: <50EC6569.6030202@sugarcrm.com> References: <50EBDEEE.8070605@sugarcrm.com> <50EC6569.6030202@sugarcrm.com> Date: Tue, 8 Jan 2013 13:58:16 -0500 Message-ID: To: Stas Malyshev Cc: "internals@lists.php.net" Content-Type: text/plain; charset=ISO-8859-1 X-Gm-Message-State: ALoCoQlhIpFerXb4d1kRdf/41pBNXTnqphevyE9/zkS+R6iax5ao4eZhsf0Y4HblXeFptOeeJR/e Subject: Re: [PHP-DEV] [RFC] Reflection annotations reader From: pierrick@webstart.fr (Pierrick Charron) I do use PHP Unit and also Doctrine which uses annotations. And I know that today because there is no native annotations, the implementation use docblocks so I can not remove them :) But still if I did not know anything about PHP and that someone was talking to me about comments, I would expect my code to work even without them. Pierrick On 8 January 2013 13:28, Stas Malyshev wrote: > Hi! > >> I agree, there is a need in this functionality, but all those userland >> implementations were at the first place made because this >> functionality was not part of the language. I think docblocks is not >> the solution, doc blocks are just comments, and I would expect any >> code to work the same way if I remove my comments. > > So you never used PHPUnit and never will in the future, right? Maybe so, > but thousands of other people do, and have no problem with directives in > the comments. I think it is time to lay this red herring to rest - > nobody who had any encounter with any of the most popular PHP tools > really expects it. > -- > Stanislav Malyshev, Software Architect > SugarCRM: http://www.sugarcrm.com/ > (408)454-6900 ext. 227