Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:49401 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 72332 invoked from network); 12 Aug 2010 01:02:39 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 12 Aug 2010 01:02:39 -0000 Authentication-Results: pb1.pair.com smtp.mail=phpwnd@gmail.com; spf=pass; sender-id=pass Authentication-Results: pb1.pair.com header.from=phpwnd@gmail.com; sender-id=pass; domainkeys=bad Received-SPF: pass (pb1.pair.com: domain gmail.com designates 209.85.212.170 as permitted sender) DomainKey-Status: bad X-DomainKeys: Ecelerity dk_validate implementing draft-delany-domainkeys-base-01 X-PHP-List-Original-Sender: phpwnd@gmail.com X-Host-Fingerprint: 209.85.212.170 mail-px0-f170.google.com Received: from [209.85.212.170] ([209.85.212.170:45691] helo=mail-px0-f170.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id AD/50-01062-E28436C4 for ; Wed, 11 Aug 2010 21:02:39 -0400 Received: by pxi17 with SMTP id 17so322431pxi.29 for ; Wed, 11 Aug 2010 18:02:36 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:received:in-reply-to :references:date:message-id:subject:from:to:cc:content-type :content-transfer-encoding; bh=XAtn+HLmwa9NRGf3yJgJqIfXdYrqRLXznkmTdkVMBlY=; b=sANNQoGDa+sv4uwpdUaLwqopY5BaRAlHmOmXvfB+N7COW72CCO9pZ7dd3I4z9KletH mWVdnl06YejF6T/HBPBKreDdVO9xl2D84X/LJos8fllQVAUE5f1GwHM4/QE0C0Me2F8q MQd3dFmUm+DA6bJ6I8eHAyva/dk4d4s7MZaB4= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type:content-transfer-encoding; b=c1RuTRpgxHvaGRMb2dbAKTGwEsnUX61TqXGfVNVVV9QH0QdQDCDwbVRm6EyPuLBEzY hM5ocHRVAgIHnjjuBDEyEv8nfDxMhs+VljWUdwoM0vzuB7HTfyrGFa0w8ri+NBFm1tLj /MwUzoh6bhRo9Rwjms2jClK5AAW2ia6/N16uo= MIME-Version: 1.0 Received: by 10.114.59.1 with SMTP id h1mr22868184waa.28.1281574956103; Wed, 11 Aug 2010 18:02:36 -0700 (PDT) Received: by 10.114.154.9 with HTTP; Wed, 11 Aug 2010 18:02:35 -0700 (PDT) In-Reply-To: <1281570528.1253.24.camel@guybrush> References: <1281478269.6608.292.camel@guybrush> <4C61E5CA.5070604@sugarcrm.com> <4C61F3EF.5030409@sugarcrm.com> <4C6241D1.6030909@sugarcrm.com> <4C62DBE9.7090008@sugarcrm.com> <7.0.1.0.2.20100811213714.1540f338@zend.com> <7.0.1.0.2.20100811225519.0ef42c40@zend.com> <7.0.1.0.2.20100812001106.0ef429b0@zend.com> <7.0.1.0.2.20100812010740.0ef432a8@zend.com> <1281570528.1253.24.camel@guybrush> Date: Thu, 12 Aug 2010 03:02:35 +0200 Message-ID: To: =?ISO-8859-1?Q?Johannes_Schl=FCter?= Cc: Internals Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Subject: Re: [PHP-DEV] Strict typing From: phpwnd@gmail.com (Josh Davis) 2010/8/12 Johannes Schl=FCter : > Yes, my blog posting reflects my opinion and therefore is manipulative Indeed. Depending where you'll look, you'll find big communities that have no clue about or no need for type hinting/checking/casting, some communities where "strict" typing is heresy, others where "weak" typing is seen as too lax, etc... All I've read on that topic was from small communities with targeted audiences, which produce some very polarized opinions. What would be interesting to see is what people think of Derick's latest proposal allowing both the strict typechecking and the more sensible "weak typing" (which I call smartcasting because you know, it does typecast stuff and prefixing it with "smart" make it sound better IMO.) It would weed out most of the knee-jerk reactions and focus on whether it solves problems or overly complicates things or makes them confusing.