Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:58208 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 82191 invoked from network); 27 Feb 2012 22:31:47 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 27 Feb 2012 22:31:47 -0000 Authentication-Results: pb1.pair.com header.from=kris.craig@gmail.com; sender-id=pass Authentication-Results: pb1.pair.com smtp.mail=kris.craig@gmail.com; spf=pass; sender-id=pass Received-SPF: pass (pb1.pair.com: domain gmail.com designates 74.125.82.170 as permitted sender) X-PHP-List-Original-Sender: kris.craig@gmail.com X-Host-Fingerprint: 74.125.82.170 mail-we0-f170.google.com Received: from [74.125.82.170] ([74.125.82.170:33722] helo=mail-we0-f170.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 33/21-11273-1540C4F4 for ; Mon, 27 Feb 2012 17:31:47 -0500 Received: by werh12 with SMTP id h12so1220746wer.29 for ; Mon, 27 Feb 2012 14:31:42 -0800 (PST) Received-SPF: pass (google.com: domain of kris.craig@gmail.com designates 10.180.24.166 as permitted sender) client-ip=10.180.24.166; Authentication-Results: mr.google.com; spf=pass (google.com: domain of kris.craig@gmail.com designates 10.180.24.166 as permitted sender) smtp.mail=kris.craig@gmail.com; dkim=pass header.i=kris.craig@gmail.com Received: from mr.google.com ([10.180.24.166]) by 10.180.24.166 with SMTP id v6mr1200603wif.10.1330381902323 (num_hops = 1); Mon, 27 Feb 2012 14:31:42 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=E/0SXs6DZLTdpvPN9NQxgBYJvuzjL4ZQ5e+7UzHaw50=; b=BBXGvQbacD6JkeFV1mNBrOMF3/hZnYL35Sy0UC5XjrgOaorIDW5S/RTFxjCIpy/og1 8KEZIu17yHYgTo7zN5CsgZ262YC3P7PEQNSAt0Ucogbcb46y5ASOB8UwTSMoVR5KlxbT Bmz3ztbtXqmjyT9Ehv3QFeQ+V/WvPHpNHPnNM= MIME-Version: 1.0 Received: by 10.180.24.166 with SMTP id v6mr935692wif.10.1330381902276; Mon, 27 Feb 2012 14:31:42 -0800 (PST) Received: by 10.223.75.146 with HTTP; Mon, 27 Feb 2012 14:31:42 -0800 (PST) In-Reply-To: References: <1330357150.2159.30.camel@guybrush> Date: Mon, 27 Feb 2012 14:31:42 -0800 Message-ID: To: John Crenshaw Cc: Anthony Ferrara , Ferenc Kovacs , Michael Morris , "internals@lists.php.net" Content-Type: multipart/alternative; boundary=f46d04182610b3681a04b9f9ac4e Subject: Re: [PHP-DEV] Scalar type hinting From: kris.craig@gmail.com (Kris Craig) --f46d04182610b3681a04b9f9ac4e Content-Type: text/plain; charset=ISO-8859-1 Would "firm" work better? --Kris On Mon, Feb 27, 2012 at 2:27 PM, John Crenshaw wrote: > > -----Original Message----- > > From: Kris Craig [mailto:kris.craig@gmail.com] > > > > Now, to rewind a bit past the latest chunk of "I hate this idea" > posts.... > > > > I'd like to suggest a new term: "strong". > > > > This term would be similar to "weak", except with a few key differences: > > > > ... > > > > Some possible examples of how this would look: > > > > weak int $i = "aaa"; // Converts to 1 and throws a warning. > > strong int $ii = "aaa"; // Throws a fatal error. > > weak int $i = "1"; // Converts to 1. > > strong int $ii = "1"; // Converts to 1. > > > > > > --Kris > > Can we use a different word (not "strong") at least for just discussion > purposes? I worry that "strong" will produce a feeling of intense fear and > anxiety in people who have been burned out by strict typing debates. The > words "strong" and "strict" are basically inflammatory at this point. In > the interest of facilitating a reasonable discussion, I think we should > avoid language that is likely to cause discussion to break down. > > John Crenshaw > Priacta, Inc. > --f46d04182610b3681a04b9f9ac4e--