Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:34437 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 94706 invoked by uid 1010); 4 Jan 2008 18:23:25 -0000 Delivered-To: ezmlm-scan-internals@lists.php.net Delivered-To: ezmlm-internals@lists.php.net Received: (qmail 94685 invoked from network); 4 Jan 2008 18:23:24 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 4 Jan 2008 18:23:24 -0000 Authentication-Results: pb1.pair.com smtp.mail=ilia@prohost.org; spf=permerror; sender-id=unknown Authentication-Results: pb1.pair.com header.from=ilia@prohost.org; sender-id=unknown Received-SPF: error (pb1.pair.com: domain prohost.org from 64.233.162.230 cause and error) X-PHP-List-Original-Sender: ilia@prohost.org X-Host-Fingerprint: 64.233.162.230 nz-out-0506.google.com Received: from [64.233.162.230] ([64.233.162.230:18177] helo=nz-out-0506.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 1C/68-63281-5997E774 for ; Fri, 04 Jan 2008 13:23:23 -0500 Received: by nz-out-0506.google.com with SMTP id x7so1361356nzc.38 for ; Fri, 04 Jan 2008 10:23:08 -0800 (PST) Received: by 10.110.5.14 with SMTP id 14mr3674516tie.10.1199470986110; Fri, 04 Jan 2008 10:23:06 -0800 (PST) Received: from ?192.168.1.133? ( [76.65.228.201]) by mx.google.com with ESMTPS id i20sm67649811wxd.2.2008.01.04.10.23.02 (version=TLSv1/SSLv3 cipher=OTHER); Fri, 04 Jan 2008 10:23:03 -0800 (PST) Cc: internals Mailing List Message-ID: To: Stanislav Malyshev In-Reply-To: <477E78D0.3050501@zend.com> Content-Type: text/plain; charset=US-ASCII; format=flowed; delsp=yes Content-Transfer-Encoding: 7bit Mime-Version: 1.0 (Apple Message framework v915) Date: Fri, 4 Jan 2008 13:22:59 -0500 References: <477DB7BF.10201@chiaraquartet.net> <20080104105558.GC7861@mint.phcomp.co.uk> <477E5649.2080104@chiaraquartet.net> <477E619C.2050107@sektioneins.de> <477E78D0.3050501@zend.com> X-Mailer: Apple Mail (2.915) Subject: Re: [PHP-DEV] type hinting From: ilia@prohost.org (Ilia Alshanetsky) On 4-Jan-08, at 1:20 PM, Stanislav Malyshev wrote: >> layer. It also makes the code far more readable and understandable >> not the mention help doc generation tools that interrogate the code. > > I was under impression that it is good manners to actually document > your code and not rely on the tools to "interrogate" your code. Of > course, not everybody has good style, but I don't see much value in > changing language so that people writing in bad style would feel > more comfortable. If you can offload type documentation you can make better use of your time documenting the logic of the code, there is something to be said about self documenting code especially when doing things like WSDL generation. Ilia Alshanetsky