Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:49361 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 74317 invoked from network); 11 Aug 2010 18:31:25 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 11 Aug 2010 18:31:25 -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:64344] helo=mail-px0-f170.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id EE/2D-01618-D7CE26C4 for ; Wed, 11 Aug 2010 14:31:25 -0400 Received: by pxi17 with SMTP id 17so190616pxi.29 for ; Wed, 11 Aug 2010 11:31:22 -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; bh=Jx/7eq8r+DfahDIUmHDsQmrr3Hg14Ta6kRH+IXebJH4=; b=sGkBdHax4NeL2WZrvAEILmSg8e4+IX3UQMu9gYj35RbsS615KOf7Em4H+RE/DB0EoN 9pQ1Y4+urqPc7PMdRl5Ci/uYyi5aveeF3NdYmEPKO6RuR/I3V9zHigsFIdv9wY5CIR7v Wb1jerirU/6cg+ZHUouyFxkVtXkwkpRh5gxQU= 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; b=dQNsEIuubCHg7zKUE8DXU4QhFPTdlvRVQfsGCLhAizcUXHyInWgHj7kkqWW6GC4L+I zmcJQS3/jyk1iyMquGgqx0/D0Ti7a+ntmln0LMeyMVPRiHMMCRubIJlXGQa0XTd0A2nR E3NW032MAhdC3wx1REX6pvkT5Gcpih/J7bL+k= MIME-Version: 1.0 Received: by 10.114.39.2 with SMTP id m2mr11124520wam.45.1281551482533; Wed, 11 Aug 2010 11:31:22 -0700 (PDT) Received: by 10.114.154.9 with HTTP; Wed, 11 Aug 2010 11:31:22 -0700 (PDT) In-Reply-To: <4C62DBE9.7090008@sugarcrm.com> References: <1281478269.6608.292.camel@guybrush> <4C61E5CA.5070604@sugarcrm.com> <4C61F3EF.5030409@sugarcrm.com> <4C6241D1.6030909@sugarcrm.com> <4C62DBE9.7090008@sugarcrm.com> Date: Wed, 11 Aug 2010 20:31:22 +0200 Message-ID: To: Stas Malyshev Cc: Internals Content-Type: text/plain; charset=ISO-8859-1 Subject: Re: [PHP-DEV] Strict typing From: phpwnd@gmail.com (Josh Davis) On 11 August 2010 19:20, Stas Malyshev wrote: > I'm against it on sanity and logic grounds. I explained the reasons (for the > Nth time) above. If you still can't comprehend that there's logic behind > what I am saying and call it "ideology" - well, I guess there's a limit of > what one can explain. I perfectly understand that there are reasons behind wanting the more relaxed "smartcasting" to be the only option but please go ahead and be condescending if you want. There is logic behind what you're saying: your logic. It's not a universal logic though, as evidenced by the lack of consensus. My point is this: Derick's proposal (which started this thread before it got forked somehow) was to allow everybody to have it their way. You are fighting tooth and nail to prevent that from happening, choosing instead to impose your logic and your definition of what is sound to the users. I call that ideology. My own ideology is to leave that choice to the users if it doesn't incur a high cost. That way, my ideology is more compatible with others'. Offering both typechecking and smartcasting is compatible with both groups of users, which, btw, do overlap to some extent; if the feature was available I'd use typechecking for internal functions and smartcasting for most of the public stuff, depending on what rules it follows.