Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:87116 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 98930 invoked from network); 12 Jul 2015 08:10:11 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 12 Jul 2015 08:10:11 -0000 Authentication-Results: pb1.pair.com smtp.mail=smalyshev@gmail.com; spf=pass; sender-id=pass Authentication-Results: pb1.pair.com header.from=smalyshev@gmail.com; sender-id=pass Received-SPF: pass (pb1.pair.com: domain gmail.com designates 209.85.192.169 as permitted sender) X-PHP-List-Original-Sender: smalyshev@gmail.com X-Host-Fingerprint: 209.85.192.169 mail-pd0-f169.google.com Received: from [209.85.192.169] ([209.85.192.169:34760] helo=mail-pd0-f169.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 09/31-23914-1E022A55 for ; Sun, 12 Jul 2015 04:10:10 -0400 Received: by pdbep18 with SMTP id ep18so207762016pdb.1 for ; Sun, 12 Jul 2015 01:10:07 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=message-id:date:from:user-agent:mime-version:to:cc:subject :references:in-reply-to:content-type:content-transfer-encoding; bh=a+LRwYEQb8nCNDAQTNaOGjqZJoBHdia8IaDoCPRdUNs=; b=FrI7MhhD0O/wj4zVyOOlMAR3IunOW7FUPz8yfg8FzA1ur4/stMpPMjebxL97fAmtQ8 xfdmDcCpoetoJU0oXo4wvC/GtpG8ouNPoodcUw23oIO4CHiSvfB5r3qyj05MNMsB/ZEP G7g7jZi5fEyGKC9lbOTn8fIgW5r8h6vIwprpfzSYYTM88F0U6TKCSBFglr29Yh6jOPxt jic2xBAeK8ZuLRt9XrxvAeatEF1L6/mhRcREs25wJfAPWN+S1lNEeTm8H+v3FOT7Bg5U GDsJ5bGOIgOJreUOaQ/NdwSHXVKnpvkEOk6vn2fe3xtVUoI9YFLgKpvxrIB3Ok+gDQw0 zMAw== X-Received: by 10.68.221.166 with SMTP id qf6mr26789164pbc.80.1436688607297; Sun, 12 Jul 2015 01:10:07 -0700 (PDT) Received: from Stas-Air.local (108-66-6-48.lightspeed.sntcca.sbcglobal.net. [108.66.6.48]) by smtp.gmail.com with ESMTPSA id pn6sm14948955pdb.72.2015.07.12.01.10.05 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sun, 12 Jul 2015 01:10:06 -0700 (PDT) Message-ID: <55A220D8.3090004@gmail.com> Date: Sun, 12 Jul 2015 01:10:00 -0700 User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.9; rv:31.0) Gecko/20100101 Thunderbird/31.7.0 MIME-Version: 1.0 To: Marcio Almada , Sebastian Bergmann CC: PHP internals References: <55A16375.4000707@php.net> In-Reply-To: Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit Subject: Re: [PHP-DEV] PHP7 and types From: smalyshev@gmail.com (Stanislav Malyshev) Hi! > Not completely bogus. At least with typed properties you won't need to > actually write the docblocks to have the IDE "hints". It's a minor win > for IDE users too. I don't see "not needing to write docblocks" as a win, quite the contrary. In fact, in a number of projects I worked with, code without proper documentation (including docblocks) simply wasn't accepted into the repository. While I don't think this needs to be mandatory, I also don't see major difference - so you have to write type instead of docblock, you still have to write something. -- Stas Malyshev smalyshev@gmail.com