Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:89412 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 28661 invoked from network); 25 Nov 2015 16:48:26 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 25 Nov 2015 16:48:26 -0000 Authentication-Results: pb1.pair.com header.from=rowan.collins@gmail.com; sender-id=pass Authentication-Results: pb1.pair.com smtp.mail=rowan.collins@gmail.com; spf=pass; sender-id=pass Received-SPF: pass (pb1.pair.com: domain gmail.com designates 74.125.82.47 as permitted sender) X-PHP-List-Original-Sender: rowan.collins@gmail.com X-Host-Fingerprint: 74.125.82.47 mail-wm0-f47.google.com Received: from [74.125.82.47] ([74.125.82.47:33513] helo=mail-wm0-f47.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 93/91-19088-956E5565 for ; Wed, 25 Nov 2015 11:48:26 -0500 Received: by wmec201 with SMTP id c201so265187903wme.0 for ; Wed, 25 Nov 2015 08:48:22 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=subject:to:references:from:message-id:date:user-agent:mime-version :in-reply-to:content-type:content-transfer-encoding; bh=ByXI1+pRB24MzYMu9m4U1OL5iOni7ttqe8vtSqFK6kA=; b=yac+NA3PuHsBKjeITiSBY2AMXYNK/wwM1JtTFRLAErl4/6TTLhWl3s9JLGfpDTrmR6 IegjTeb2qmghWRXi0u9kHQ5VGMo61YyjOYHx18588jKYctkZMp0fXswZF2a87NXNBDwl uGrAN7O+HF+5XLiswyJistt4zbRs3ISR7T2+PSrxJ8V8+j62VFrhpDWpW/nX/F9V16eu 8oXLS3U0pSPhaY8XUI/aKVdN70WwW+fwpX+eTnB4kKlMneM1gsCDc8bLfu42F84NKkLo ej2eFU9TgVclGBkksJZXYCUdjUb/SKNlnPtwjtfelX1UqQOjcFhQPUohgF0LZnZJbh80 Qkdg== X-Received: by 10.28.68.133 with SMTP id r127mr5801122wma.71.1448470102155; Wed, 25 Nov 2015 08:48:22 -0800 (PST) Received: from [192.168.0.147] ([93.188.182.58]) by smtp.googlemail.com with ESMTPSA id gl4sm18425988wjd.17.2015.11.25.08.48.21 for (version=TLSv1/SSLv3 cipher=OTHER); Wed, 25 Nov 2015 08:48:21 -0800 (PST) To: internals@lists.php.net References: <5654B516.4020700@gmail.com> <5655D82A.8020304@lsces.co.uk> <5655E4E4.8070200@garfieldtech.com> Message-ID: <5655E61E.3000904@gmail.com> Date: Wed, 25 Nov 2015 16:47:26 +0000 User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:38.0) Gecko/20100101 Thunderbird/38.3.0 MIME-Version: 1.0 In-Reply-To: <5655E4E4.8070200@garfieldtech.com> Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit Subject: Re: [PHP-DEV] Native Annotation Syntax From: rowan.collins@gmail.com (Rowan Collins) Larry Garfield wrote on 25/11/2015 16:42: > However, doing so would make static checking more difficult; If > annotations become a language-native feature, they should be a > first-class citizen to make it easier for IDEs to handle. Could you explain why docblocks are harder to parse than text outside docblocks? As far as I know, IDEs *already* parse docblocks, e.g. using @param and @return for type analysis, so I don't really see why generalising that would be a big problem.