Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:92508 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 59339 invoked from network); 19 Apr 2016 23:19:54 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 19 Apr 2016 23:19:54 -0000 Authentication-Results: pb1.pair.com smtp.mail=ocramius@gmail.com; spf=pass; sender-id=pass Authentication-Results: pb1.pair.com header.from=ocramius@gmail.com; sender-id=pass Received-SPF: pass (pb1.pair.com: domain gmail.com designates 209.85.217.177 as permitted sender) X-PHP-List-Original-Sender: ocramius@gmail.com X-Host-Fingerprint: 209.85.217.177 mail-lb0-f177.google.com Received: from [209.85.217.177] ([209.85.217.177:36691] helo=mail-lb0-f177.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 2A/8D-22821-91DB6175 for ; Tue, 19 Apr 2016 19:19:53 -0400 Received: by mail-lb0-f177.google.com with SMTP id ys16so254991lbb.3 for ; Tue, 19 Apr 2016 16:19:53 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc; bh=F6p9C73mprjAle82bmZTPzdzyMjVr76e5ULLkuHeQwA=; b=0yQzzpoQ3O7D2niU/CoBz6edgPl2CjHvzLjlxtTBLCiVQF5baPeeuOTtPH1OJPxgyX nvCeAQ9PEK98gh2la+DV9hjNix+2qMhypvUT/xPtuSmT3p4E+arYvrTuf7TElHl+61WK KkQZEmwc3ewz9SiB/QLkzxQW2VzMA4TCs9woTBJfmUZsKcfzxpXss8HKY165ZNH3/1ag xy+RT5tXQuH4P54OdZpC7dzA1oLqk2zHKUtGOPSQDHGQXwV1sx+L2r+yQIMv9iidBMHk zSCSShps9XBEObV7Oogl6GrqousRoW+/wcT82Fls2lDICRskCRlxAlCY8TBABBZSic68 QVbA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc; bh=F6p9C73mprjAle82bmZTPzdzyMjVr76e5ULLkuHeQwA=; b=LXL/nEStT4AQrKGZuzSOhNmLzN7Veh5v5uJNCk7EL7P6dbdet+hbj3tOTyMOQJYzDP QQFOV/+61WvemCgeoL6x0YIqZbKXAypXaKbhEdvv4UUn9caBXy1Q85XWQl7HafUBYPZU vXqCmKDtJrgdp8P+3hJpW58Seg3ifsKfKFIkj6hON1gaQIMKtLC/sk1OLEbjXHIVrB+F WSLulsNwXZRbM4pvqDQld7Z5cZqo2J/U67h0ogop/b+Z62reCVugxEl55a7dVsDJFRiS tf7EjjlyCp8KGUqpeSDyNG9SfPNclKOuq+y3nPbOofBwfnlHDHFudLAwDFYMyw0HCIl5 17uw== X-Gm-Message-State: AOPr4FVThmVByStM9QZyz6do21w5/epRK3A0rJCoWviMo2HD/h6+6TmKW5Cc4jztZ0PMZNJqcUhiwy/wWD4AAQ== X-Received: by 10.112.134.229 with SMTP id pn5mr2155276lbb.36.1461107989130; Tue, 19 Apr 2016 16:19:49 -0700 (PDT) MIME-Version: 1.0 Received: by 10.112.126.67 with HTTP; Tue, 19 Apr 2016 16:19:29 -0700 (PDT) In-Reply-To: References: <570E99AC.3090804@fleshgrinder.com> <570EA5EB.8090501@fleshgrinder.com> <570EAB0D.6080706@gmail.com> <570EB67E.8010908@garfieldtech.com> <5B147E88-CC0A-4CBC-A49D-C7FE3BF557C0@zend.com> <6F.C3.12455.94C5F075@pb1.pair.com> <20160414094440.GF19347@phcomp.co.uk> <570FD94F.90703@fleshgrinder.com> <570FE8A9.4020809@gmail.com> <20.53.29891.17401175@pb1.pair.com> <57110BCD.5030009@garfieldtech.com> <571124C2.9040606@gmx.de> <57112F31.8070209@garfieldtech.com> <57167C35.8080601@gmail.com> <57168FCC.7000507@garfieldtech.com> Date: Wed, 20 Apr 2016 01:19:29 +0200 Message-ID: To: Ronald Chmara Cc: Zeev Suraski , Levi Morrison , "internals@lists.php.net" Content-Type: multipart/alternative; boundary=089e0115f8c6abb8f80530deb6d5 Subject: Re: [PHP-DEV] Re: Improving PHP's type system From: ocramius@gmail.com (Marco Pivetta) --089e0115f8c6abb8f80530deb6d5 Content-Type: text/plain; charset=UTF-8 On 20 April 2016 at 01:12, Ronald Chmara wrote: > On Tue, Apr 19, 2016 at 3:09 PM, Marco Pivetta wrote: > > In general, improving the type system provides a much more interesting > and > > practical playground for any kind of tool that would rely on static > > introspection: IDEs, reflectors, code generators, code inliners, > > So, tooling that relies upon (more) strict typing is less useful for > for PHP, therefore, rather than change the tooling to be more capable > with looser typing, change PHP? > The tooling already works with annotations, but there is no actual "safety" introduced by these hacks. This sounds like a good description of a thesis project or a > academic proof-of-concept language, not something mature widely-used > language prizing simplicity should be aiming for. So the Symfony2 routing and Doctrine ORM are academic proof of concepts? We got to the point of inventing language features by building hacks around the engine (Levi and I had a heated discussion about it) due to practical necessity, not due to technical/academic onanism. Removing the hacks and replacing them with actual language features would be the way to go here, but let's just keep assuming that wordpress is the baseline for good software in 2016. I think I'm just going to mute the thread. Marco Pivetta http://twitter.com/Ocramius http://ocramius.github.com/ --089e0115f8c6abb8f80530deb6d5--