Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:99576 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 95843 invoked from network); 20 Jun 2017 16:49:33 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 20 Jun 2017 16:49:33 -0000 Authentication-Results: pb1.pair.com smtp.mail=rasmus@mindplay.dk; spf=permerror; sender-id=unknown Authentication-Results: pb1.pair.com header.from=rasmus@mindplay.dk; sender-id=unknown Received-SPF: error (pb1.pair.com: domain mindplay.dk from 209.85.192.182 cause and error) X-PHP-List-Original-Sender: rasmus@mindplay.dk X-Host-Fingerprint: 209.85.192.182 mail-pf0-f182.google.com Received: from [209.85.192.182] ([209.85.192.182:34623] helo=mail-pf0-f182.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 05/74-13828-B1259495 for ; Tue, 20 Jun 2017 12:49:32 -0400 Received: by mail-pf0-f182.google.com with SMTP id s66so71869720pfs.1 for ; Tue, 20 Jun 2017 09:49:31 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=mindplay-dk.20150623.gappssmtp.com; s=20150623; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc; bh=agfDyMieP0o01kMVSW5x0zBE1PbU0Lrs23fkhIWqfDs=; b=jfqjsc/UaYmmC8qLwow5h3Ow3Q0p+bneluqMmCdWNq6o5gP9feNMp0ONVivBwXxuW8 6OymPqGYc+zLwdKkdP8gxkHyrzEhI6eS9tKUMTuyvubZ4j7lQnMZukbKWKlKxEk9uAz7 3IsdOoSzcnRDQB6gE3dkFTzchTFY3sLoKdVKOxnrWn46OnATgthwYOdV+a/S46SJ+v0D Nkxlfr6LsyY2ohuQy9LI4orlTg4M4YJsFQOPXgVkTKg78izCkoMR30QgEeQxg57f4FRe sgODPvLsUs8JYEyvn1D7hjAK175P5BSfZPEqUGWNJ67maPXGSvdm2oyScjE9kQbWV6+q iSaA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc; bh=agfDyMieP0o01kMVSW5x0zBE1PbU0Lrs23fkhIWqfDs=; b=B6f2sDI0Jyo8X++Tlkm4cjL58qM0PJukY/tWU2ExidG0oBPwfl9T/yKPiFX0WEi6rV 8FVPCzEkxFi0eA0UJQr5iZ7Km2Rti4qP+B0Wm84h7mwtf/PP4xAC8S9PH2s/OqUVBbDN 5i9tdNN3zwHzXGGXtyPViNRUWXjVJ0a+0QfLFOIOkIMt2kMMfofHMPAK4nRw9dPODmL1 6s7d4IoYMN8ndxjvBbfwiymvlfVUHOV6PVmvtbwQD7rVRemuYaE+F9Ql3+6WriwGfRVE I45yAYbpQQp3HFpqyeabCg32ZxQbBjgq8m/u66jJRf6+lt+0p2KHDCjBMPF4KtI2LfxZ MphQ== X-Gm-Message-State: AKS2vOy256nSJzvdMedDj8z79AvjnWMZmfbSqw0Wi24+0VwNsbqb8wJH 1j49z113dIkldkMVpBdA03ZxUSpo9l+5 X-Received: by 10.99.126.67 with SMTP id o3mr32240134pgn.36.1497977369098; Tue, 20 Jun 2017 09:49:29 -0700 (PDT) MIME-Version: 1.0 Received: by 10.100.151.167 with HTTP; Tue, 20 Jun 2017 09:49:28 -0700 (PDT) In-Reply-To: <64e7de96-6a46-1c2c-5492-fab5a0f22b32@fischer.name> References: <5fe1eefe-1c4f-4c31-c975-ab6c768c977c@telia.com> <3C763609-54FC-480B-AE95-94A1873226E0@me.com> <9A3447BF-F982-4C5A-B55B-466036AF2E53@me.com> <2d89daaa-056f-3dcb-a5f2-b790affe203a@garfieldtech.com> <64e7de96-6a46-1c2c-5492-fab5a0f22b32@fischer.name> Date: Tue, 20 Jun 2017 18:49:28 +0200 Message-ID: To: Markus Fischer Cc: PHP internals Content-Type: multipart/alternative; boundary="f403045e23b4f791e405526708bb" Subject: Re: [PHP-DEV] [RFC]Discuss] Syntax for Arrow Functions From: rasmus@mindplay.dk (Rasmus Schultz) --f403045e23b4f791e405526708bb Content-Type: text/plain; charset="UTF-8" > I just think your example is an exaggeration to what happens in practice. I think it's an example of what happens with any inconsistent feature in any language. On Tue, Jun 20, 2017 at 9:53 AM, Markus Fischer wrote: > Hello Rasmus, > > On 19.06.17 22:22, Rasmus Schultz wrote: > >> If I have to factor back and forth between new and old syntax every time a >> closure changes from one to multiple or back to one statement, then, >> frankly, what's the point? >> >> I think I would just keep using the old syntax, then - for consistency, >> and >> to save myself the frustration of factoring back and forth. >> > > I'm writing closures every day and it's so rare to have this changes from > single/multiple I don't even remember. I think in practice this is a > non-issue except for very rare special cases and, don't forget: it's > optional, you don't have to. > > In my opinion, if this is worth doing, it's worth doing it right. >> > > No counter-argument here :) > > I just think your example is an exaggeration to what happens in practice. > > - Markus > > > -- > PHP Internals - PHP Runtime Development Mailing List > To unsubscribe, visit: http://www.php.net/unsub.php > > --f403045e23b4f791e405526708bb--