Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:85344 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 64062 invoked from network); 20 Mar 2015 22:13:03 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 20 Mar 2015 22:13:03 -0000 Authentication-Results: pb1.pair.com smtp.mail=smalyshev@gmail.com; spf=pass; sender-id=pass Authentication-Results: pb1.pair.com header.from=smalyshev@gmail.com; sender-id=pass Received-SPF: pass (pb1.pair.com: domain gmail.com designates 209.85.220.47 as permitted sender) X-PHP-List-Original-Sender: smalyshev@gmail.com X-Host-Fingerprint: 209.85.220.47 mail-pa0-f47.google.com Received: from [209.85.220.47] ([209.85.220.47:36230] helo=mail-pa0-f47.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id BD/B2-64120-E6B9C055 for ; Fri, 20 Mar 2015 17:13:03 -0500 Received: by padcy3 with SMTP id cy3so121406475pad.3 for ; Fri, 20 Mar 2015 15:13:00 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=message-id:date:from:user-agent:mime-version:to:cc:subject :references:in-reply-to:content-type:content-transfer-encoding; bh=Bxz8AuBbujPIZMVyR/M1GCS4z+4BcT2oVJKPzH013T4=; b=ZZ1vToxsYQPCpEGobOj2ILXpjkCxHGBYHJg021brUq7qEg/5ijD2Auf6jVGEQAlBFl NEZ7mp7on8IipEVQVTM4wPP6o8gh8EcW04dD4gsXlJAgMyErvPN+2NQ7YKzZPL+peIFW 6Qx8SuR1w5QfX7iHSWVutp26BrtggDPBN9QZBgbgYJmMJHZ8V0Wc/EAdXzUNl48fyFA3 Yc3RF8lDeeZMB88t1edUcZhzsLbQPCuooOXnO1fjakdoWD4Zr9Nled4kDluBGEd2A2u2 8oNH/FudpGar09NUy/tTofnyvSXRk2uq85dLArN8C0vmrEH2L7Nxgn/J51qaAIrKJP3w DTBQ== X-Received: by 10.70.133.97 with SMTP id pb1mr125255705pdb.10.1426889580011; Fri, 20 Mar 2015 15:13:00 -0700 (PDT) Received: from Stas-Air.local (108-66-6-48.lightspeed.sntcca.sbcglobal.net. [108.66.6.48]) by mx.google.com with ESMTPSA id ms7sm9753596pdb.8.2015.03.20.15.12.59 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 20 Mar 2015 15:12:59 -0700 (PDT) Message-ID: <550C9B6A.8000706@gmail.com> Date: Fri, 20 Mar 2015 15:12:58 -0700 User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.9; rv:31.0) Gecko/20100101 Thunderbird/31.5.0 MIME-Version: 1.0 To: Alex Bowers CC: PHP Internals References: <550B5A81.1090706@gmail.com> <550C8879.70002@gmail.com> <550C917D.5000904@gmail.com> In-Reply-To: Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit Subject: Re: [PHP-DEV] RFC - Array slice syntactic sugar From: smalyshev@gmail.com (Stanislav Malyshev) Hi! > There certainly are ways to do most of what this RFC covers, however > most of them don't lend themselves well to clean code in my opinion. I must disagree with the notion that "clean code" can only include operators and not functions. There's nothing wrong with using functions. -- Stas Malyshev smalyshev@gmail.com