Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:58205 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 79169 invoked from network); 27 Feb 2012 22:28:07 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 27 Feb 2012 22:28:07 -0000 Authentication-Results: pb1.pair.com smtp.mail=johncrenshaw@priacta.com; spf=pass; sender-id=pass Authentication-Results: pb1.pair.com header.from=johncrenshaw@priacta.com; sender-id=pass Received-SPF: pass (pb1.pair.com: domain priacta.com designates 64.95.72.244 as permitted sender) X-PHP-List-Original-Sender: johncrenshaw@priacta.com X-Host-Fingerprint: 64.95.72.244 mxout.myoutlookonline.com Received: from [64.95.72.244] ([64.95.72.244:31869] helo=mxout.myoutlookonline.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id E8/70-11273-6730C4F4 for ; Mon, 27 Feb 2012 17:28:06 -0500 Received: from mxout.myoutlookonline.com (localhost [127.0.0.1]) by mxout.myoutlookonline.com (Postfix) with ESMTP id 74AF041702E; Mon, 27 Feb 2012 17:28:03 -0500 (EST) X-Virus-Scanned: by SpamTitan at mail.lan Received: from HUB023.mail.lan (unknown [10.110.2.1]) by mxout.myoutlookonline.com (Postfix) with ESMTP id 9D7CC41742B; Mon, 27 Feb 2012 17:28:01 -0500 (EST) Received: from MAILR001.mail.lan ([10.110.18.27]) by HUB023.mail.lan ([10.110.17.23]) with mapi; Mon, 27 Feb 2012 17:27:57 -0500 To: Kris Craig , Anthony Ferrara CC: Ferenc Kovacs , Michael Morris , "internals@lists.php.net" Date: Mon, 27 Feb 2012 17:27:57 -0500 Thread-Topic: [PHP-DEV] Scalar type hinting Thread-Index: Acz1hE0NuSP9I2wOS52MHSMrJ8PWXgAENKLA Message-ID: References: <1330357150.2159.30.camel@guybrush> In-Reply-To: Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: acceptlanguage: en-US Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 Subject: RE: [PHP-DEV] Scalar type hinting From: johncrenshaw@priacta.com (John Crenshaw) > -----Original Message----- > From: Kris Craig [mailto:kris.craig@gmail.com]=20 >=20 > Now, to rewind a bit past the latest chunk of "I hate this idea" posts...= . >=20 > I'd like to suggest a new term: "strong". >=20 > This term would be similar to "weak", except with a few key differences: > > ... > > Some possible examples of how this would look: >=20 > weak int $i =3D "aaa"; // Converts to 1 and throws a warning. > strong int $ii =3D "aaa"; // Throws a fatal error. > weak int $i =3D "1"; // Converts to 1. > strong int $ii =3D "1"; // Converts to 1. >=20 > > --Kris Can we use a different word (not "strong") at least for just discussion pur= poses? I worry that "strong" will produce a feeling of intense fear and anx= iety in people who have been burned out by strict typing debates. The words= "strong" and "strict" are basically inflammatory at this point. In the int= erest of facilitating a reasonable discussion, I think we should avoid lang= uage that is likely to cause discussion to break down. John Crenshaw Priacta, Inc.