Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:92578 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 15411 invoked from network); 20 Apr 2016 21:00:49 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 20 Apr 2016 21:00:49 -0000 Authentication-Results: pb1.pair.com smtp.mail=zeev@zend.com; spf=pass; sender-id=pass Authentication-Results: pb1.pair.com header.from=zeev@zend.com; sender-id=pass Received-SPF: pass (pb1.pair.com: domain zend.com designates 157.56.110.132 as permitted sender) X-PHP-List-Original-Sender: zeev@zend.com X-Host-Fingerprint: 157.56.110.132 mail-bn1on0132.outbound.protection.outlook.com Received: from [157.56.110.132] ([157.56.110.132:55485] helo=na01-bn1-obe.outbound.protection.outlook.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 28/48-14036-FFDE7175 for ; Wed, 20 Apr 2016 17:00:48 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=RWSoftware.onmicrosoft.com; s=selector1-zend-com; h=From:To:Date:Subject:Message-ID:Content-Type:MIME-Version; bh=wrruumdeeqIw0EXtIL/UVM0y5B5vAubZ4kwiv5b1u6E=; b=6t0IOVRkq+mwEE/JO0+uz+EqPjpqsl0RRpiZvslxI5R4xQZEM7CYRRbWevOTk5zrkV+SvhEMJS6ihdcMDqvsWItQhJTLmtgOk/qTMUL9H439HkGe/GUjMKDpKMEEea/BXDTDzeIFnso4rscwmFJm5cuz0TSGNiSn4hO0SunZf9U= Received: from BY2PR02MB298.namprd02.prod.outlook.com (10.141.140.21) by BY2PR02MB297.namprd02.prod.outlook.com (10.141.140.17) with Microsoft SMTP Server (TLS) id 15.1.466.19; Wed, 20 Apr 2016 21:00:44 +0000 Received: from BY2PR02MB298.namprd02.prod.outlook.com ([10.141.140.21]) by BY2PR02MB298.namprd02.prod.outlook.com ([10.141.140.21]) with mapi id 15.01.0466.022; Wed, 20 Apr 2016 21:00:44 +0000 To: Jesse Schalken CC: internals Thread-Topic: [PHP-DEV] Quick sanity check ... Thread-Index: AQHRmzoaEdZQKLix2Uewe3AssBPdSZ+TRvoAgAABgwCAAAikAIAAB9Ng Date: Wed, 20 Apr 2016 21:00:43 +0000 Message-ID: References: <5717D70E.5010706@lsces.co.uk> <5717E02C.9030505@gmail.com>, In-Reply-To: Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: authentication-results: lists.php.net; dkim=none (message not signed) header.d=none;lists.php.net; dmarc=none action=none header.from=zend.com; x-originating-ip: [87.70.31.215] x-ms-office365-filtering-correlation-id: aa54de22-6290-4ebf-a00c-08d3695ed6c8 x-microsoft-exchange-diagnostics: 1;BY2PR02MB297;5:5WAehpqa0aR7vh9s8ZyRYA0ND/EiEnzgBnOdLDQ6Tb1YNaqBLw9/8vk0B2sbaEO/O9v7eGHNr3Y19yT3a175reY5ynokK6EZiNI+jk24WeS8UQWn+MHPC9HrX1AbngYpN8ggY2eXbyN0FhEyg2ABw0AbavrYjClG7L6kNqjCU+VM/8zWjAzrHxpVaMrKwRl6;24:UWqytHFsdwI5dXSrdaPeb2PAbI9WLb793cXh9dz4vtegONgq4qy3xYkeJWhjxFUY7Iy1P2KGsHI5Jwiu9dfFerGI8laAVhglsmS1n0FJFYE=;7:VZFjciMr5KCmOokeiFi3wkd1SgTdCczQUDuVISPvBOkM81RuR5rO+ixdGyQHiY1N9N+72QOafLF6LXQirIW0wKmHjrmbGvcEm+6PYrwkoSlLGxpWmL7xVUyZSSLRKf4CAnHIZHx3+Ilb/Z2wnd/2Y5RGEMiFOR2z6UVmntKa5Q6Q9Pc6pZMwWDrhOIZqT6KPTyAeARFussHQNgLM9NMD0aEX5EtmPcefVcxmbBMbQm4= x-microsoft-antispam: UriScan:;BCL:0;PCL:0;RULEID:;SRVR:BY2PR02MB297; x-microsoft-antispam-prvs: x-exchange-antispam-report-test: UriScan:; x-exchange-antispam-report-cfa-test: BCL:0;PCL:0;RULEID:(9101521026)(601004)(2401047)(8121501046)(5005006)(3002001)(10201501046);SRVR:BY2PR02MB297;BCL:0;PCL:0;RULEID:;SRVR:BY2PR02MB297; x-forefront-prvs: 0918748D70 x-forefront-antispam-report: SFV:NSPM;SFS:(10019020)(6009001)(24454002)(99286002)(5002640100001)(2906002)(3280700002)(5008740100001)(87936001)(2950100001)(2900100001)(92566002)(77096005)(106116001)(66066001)(3660700001)(36756003)(11100500001)(54356999)(82746002)(586003)(189998001)(3846002)(10400500002)(33656002)(4326007)(6116002)(5004730100002)(86362001)(1096002)(19580405001)(19580395003)(110136002)(76176999)(122556002)(83716003)(1220700001)(50986999)(93886004)(81166005)(102836003)(104396002);DIR:OUT;SFP:1102;SCL:1;SRVR:BY2PR02MB297;H:BY2PR02MB298.namprd02.prod.outlook.com;FPR:;SPF:None;MLV:sfv;LANG:en; spamdiagnosticoutput: 1:23 spamdiagnosticmetadata: NSPM Content-Type: text/plain; charset="windows-1255" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-OriginatorOrg: zend.com X-MS-Exchange-CrossTenant-originalarrivaltime: 20 Apr 2016 21:00:43.9749 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 32210298-c08b-4829-8097-6b12c025a892 X-MS-Exchange-Transport-CrossTenantHeadersStamped: BY2PR02MB297 Subject: Re: [PHP-DEV] Quick sanity check ... From: zeev@zend.com (Zeev Suraski) > On 20 =E1=E0=F4=F8=D7 2016, at 23:33, Jesse Schalken wrote: >=20 > You're blaming humans (devs, testers etc) for a problem which could have > been caught automatically (by a strictly enforced type annotation). It > follows that you actually *want* writing PHP software to be inefficient, > labour intensive and error-prone. Which is exactly why we're seeing a massive exodus from loosely typed langu= ages like PHP and JavaScript towards strongly typed languages like Java, wi= th people reporting radically better productivity. Seriously. We all know the advantages of strict typing. What seems that we don't all = know are the advantages of dynamic typing. And it's no coincidence that in= reality, the exodus is going in the other direction, and dynamically typed= languages are reported to be a lot more productive. Might you consider reading the research Johannes pointed to? What made you choose PHP? If you think it's fundamentals are so bad and pu= sh you to be inefficient, sentenced to hard labor and your code prone to er= rors, how did you make this horrible choice? Zeev