Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:109464 Return-Path: Delivered-To: mailing list internals@lists.php.net Received: (qmail 32759 invoked from network); 30 Mar 2020 19:07:10 -0000 Received: from unknown (HELO php-smtp4.php.net) (45.112.84.5) by pb1.pair.com with SMTP; 30 Mar 2020 19:07:10 -0000 Received: from php-smtp4.php.net (localhost [127.0.0.1]) by php-smtp4.php.net (Postfix) with ESMTP id A7858180555 for ; Mon, 30 Mar 2020 10:33:09 -0700 (PDT) X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on php-smtp4.php.net X-Spam-Level: X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,FREEMAIL_FROM, RCVD_IN_DNSWL_NONE,RCVD_IN_MSPIKE_H2,SPF_HELO_NONE,SPF_PASS autolearn=no autolearn_force=no version=3.4.2 X-Spam-ASN: AS15169 209.85.128.0/17 X-Spam-Virus: No X-Envelope-From: Received: from mail-lj1-f176.google.com (mail-lj1-f176.google.com [209.85.208.176]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange ECDHE (P-256) server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by php-smtp4.php.net (Postfix) with ESMTPS for ; Mon, 30 Mar 2020 10:33:09 -0700 (PDT) Received: by mail-lj1-f176.google.com with SMTP id f20so19050368ljm.0 for ; Mon, 30 Mar 2020 10:33:09 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=pbmFiDqnxzwDU5hC4DF5t66K98FjBCzQ9MLvRdGI2mA=; b=divw464+kNYzaw8pdHrVsCx7/e6sr2LXOQAAv49i5MGhp5cATDKIiDbaAqh0INBacv Xj42giJ+rGG87lnOVwatsFfbTGu9POpog2EqRTesrHZkv1+2ppyUS1PT8bVD4Ov41wtL g/Is68/eNsUoVXtN6uczqSmRIYiqmre6xqYojzOV3NSLxmKyAYuQy/EcHHNYi2dhqen6 aA+/qGDTL0dl7pwLZNosLEwbjcOeZ/iRdYfdZiubshn28iEnR24wGL3ISJ7rWs5Wfzwf 5C08ySW0ys+tRAlR93XNbGmJOx4t7/FkYBx/Pn00Q5C6OSGuHJh8guVTqPRQIUbE567p E3fw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=pbmFiDqnxzwDU5hC4DF5t66K98FjBCzQ9MLvRdGI2mA=; b=UMd3PMthom/7MjNRRzYW+CeTXbB6CknrOhMwHvXmpjDWT13O+LPvc3RKQjU1bgCQ3y XJOsN026vt3lWxItKa/53WYuKcop5V4eiNwyCirTx0NAuIhNQ/k4kUxplg5Le2uWlBL8 Rb3xqVqzQ3vMYjkVjqC/CZoDcmm+J+OXe/jhqPMMYw2kk2eFSUM4CzJ6Lzwr82jSOm8H 7ZOTnst983Y9fLfpPW0KeEbH+OzWUjXPHAwSOS5YeMEHidA7rsSHb4b0sJc1e79Q3Az6 rcl0q6b0hHiYuUJAgqPIqlvJLUKJo22UC4qTNr63sxYDbALZzvNQ6wLKiTiNaSnvKt+e hFuw== X-Gm-Message-State: AGi0Pub56ehg3H60VrDo5kZAoXZxtoT8/Glq63lDu9vN5R4Pz/n7XPyH o6o2+iKZ/uVGGUy5KESHvOnx0qQu36zeqExqRg== X-Google-Smtp-Source: APiQypL3j6d34vMNgqylV0D72ik1cbJAHxo4QvWJRa4Z84DnKj4c16XR9jBi3OSQ274dSXcUJINTM/gYh2M1L2BRuig= X-Received: by 2002:a2e:1647:: with SMTP id 7mr7610204ljw.177.1585589581427; Mon, 30 Mar 2020 10:33:01 -0700 (PDT) MIME-Version: 1.0 References: In-Reply-To: Date: Mon, 30 Mar 2020 19:32:51 +0200 Message-ID: To: Jakob Givoni Cc: Rowan Tommins , php internals Content-Type: text/plain; charset="UTF-8" Subject: Re: [PHP-DEV] [RFC] Allow trailing comma in parameter lists From: guilliam.xavier@gmail.com (Guilliam Xavier) On Sun, Mar 29, 2020 at 11:31 PM Jakob Givoni wrote: > > Hi Rowan, > > On Sat, Mar 28, 2020 at 4:01 PM Rowan Tommins wrote: > > > > While I'd personally be fine with this change, I think we should > > understand why the previous proposal failed rather than just hoping the > > vote goes differently this time. > > I think you have a good point here. > I've only been around for a short time so I can't comment on historical reasons. > And though I agree the proposal is logical and consistent, I have this > nagging feeling in the back of my brain: > Are we encouraging functions with long lists of parameters so that > they need to be on their own lines? Just to say, with descriptive names and type declarations (and now union types), even a method with just two or three parameters can need to be wrapped to keep lines below 120 characters ;) Maybe the RFC could include an example? But I am curious too about why it failed last time. -- Guilliam Xavier