Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:99083 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 53411 invoked from network); 17 May 2017 17:13:06 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 17 May 2017 17:13:06 -0000 Authentication-Results: pb1.pair.com header.from=michal@brzuchalski.com; sender-id=pass Authentication-Results: pb1.pair.com smtp.mail=michal@brzuchalski.com; spf=pass; sender-id=pass Received-SPF: pass (pb1.pair.com: domain brzuchalski.com designates 188.165.245.118 as permitted sender) X-PHP-List-Original-Sender: michal@brzuchalski.com X-Host-Fingerprint: 188.165.245.118 ns220893.ip-188-165-245.eu Received: from [188.165.245.118] ([188.165.245.118:60432] helo=poczta.brzuchalski.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 3B/77-21791-1A48C195 for ; Wed, 17 May 2017 13:13:06 -0400 Received: from localhost (localhost.localdomain [127.0.0.1]) by poczta.brzuchalski.com (Postfix) with ESMTP id 3934D2984237 for ; Wed, 17 May 2017 19:13:02 +0200 (CEST) Received: from poczta.brzuchalski.com ([127.0.0.1]) by localhost (poczta.brzuchalski.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id mXS-4KHj3gui for ; Wed, 17 May 2017 19:13:00 +0200 (CEST) Received: from mail-wr0-f170.google.com (unknown [209.85.128.170]) by poczta.brzuchalski.com (Postfix) with ESMTPSA id 7DF3C2984235 for ; Wed, 17 May 2017 19:13:00 +0200 (CEST) Received: by mail-wr0-f170.google.com with SMTP id l50so15880726wrc.3 for ; Wed, 17 May 2017 10:13:00 -0700 (PDT) X-Gm-Message-State: AODbwcAtFD/0V1nH7o1/3Yxw0ewFy19wJBx2xW2asG91TcE3uOm6Hx68 xp4+ylQDV9tzAv89Ads10Csb34nvXg== X-Received: by 10.223.146.225 with SMTP id 88mr2996441wrn.51.1495041180271; Wed, 17 May 2017 10:13:00 -0700 (PDT) MIME-Version: 1.0 Received: by 10.223.136.253 with HTTP; Wed, 17 May 2017 10:12:59 -0700 (PDT) In-Reply-To: References: Date: Wed, 17 May 2017 19:12:59 +0200 X-Gmail-Original-Message-ID: Message-ID: To: Levi Morrison Cc: PHP Internals List Content-Type: multipart/alternative; boundary="94eb2c0d9ff0798fd5054fbb66a8" Subject: Re: [PHP-DEV] [RFC] [VOTE] Object typehint RFC From: michal@brzuchalski.com (=?UTF-8?Q?Micha=C5=82_Brzuchalski?=) --94eb2c0d9ff0798fd5054fbb66a8 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable 2017-05-17 18:43 GMT+02:00 Levi Morrison : > I'm not intending to derail the thread but let's consider your statement: > your proposal constrains us to choosing something Java-like instead of > having all options. Think closely about that: you are advocating that we > constrain us to Java-like enums when there are many, many options and we > get what for that trade-off? A simpler way to implement variance for the > object-type only? No thanks. No offence Levi, it was just an example of enums implementation. Maybe I should not now point it in this thread. My apologies. --=20 regards / pozdrawiam, -- Micha=C5=82 Brzuchalski about.me/brzuchal brzuchalski.com --94eb2c0d9ff0798fd5054fbb66a8--