Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:52661 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 82235 invoked from network); 1 Jun 2011 12:01:07 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 1 Jun 2011 12:01:07 -0000 Authentication-Results: pb1.pair.com smtp.mail=arvids.godjuks@gmail.com; spf=pass; sender-id=pass Authentication-Results: pb1.pair.com header.from=arvids.godjuks@gmail.com; sender-id=pass; domainkeys=bad Received-SPF: pass (pb1.pair.com: domain gmail.com designates 209.85.212.42 as permitted sender) DomainKey-Status: bad X-DomainKeys: Ecelerity dk_validate implementing draft-delany-domainkeys-base-01 X-PHP-List-Original-Sender: arvids.godjuks@gmail.com X-Host-Fingerprint: 209.85.212.42 mail-vw0-f42.google.com Received: from [209.85.212.42] ([209.85.212.42:64351] helo=mail-vw0-f42.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id A5/D3-61684-20A26ED4 for ; Wed, 01 Jun 2011 08:01:07 -0400 Received: by vwl1 with SMTP id 1so4469604vwl.29 for ; Wed, 01 Jun 2011 05:01:03 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:in-reply-to:references:date :message-id:subject:from:to:content-type; bh=eTnJk/awPEG1zY4ph0XEu+S+YnzTwYz1uvk4exT1kGI=; b=AJ6FGABJf+PCXWZcAc80dI6bk9CIMhsPguk4W57Ev7FFWnQOkf3eHWYOJkRC517H8T 2Rp74GuM02i9pbzz9++m/dJnc5mf55y3On+uzTzE+lkE1Ek2Wgoq+Gr2xeT0Tjk50q94 +zUdv9ZlzerNCHmq5EFVS20ADlliHd++v4mgU= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; b=X0wHt1HyFT5mKWB/tJdKbIlsvvEolyjNe26XGLYAoV7KTYzXfDSfvxxrHE2o62f/2r OninM06zI5UN20bY2Z/TKX34Ut6r4jFbIjlWVkNZ5mivEONtIqH5fHe47GO0eT3waFCN O6+gZSplwD/ek/D2e/PBlXgiinS4p1XOwix7I= MIME-Version: 1.0 Received: by 10.52.180.73 with SMTP id dm9mr1216431vdc.196.1306929663472; Wed, 01 Jun 2011 05:01:03 -0700 (PDT) Received: by 10.52.101.230 with HTTP; Wed, 1 Jun 2011 05:01:03 -0700 (PDT) In-Reply-To: References: <4DE5368A.6050603@moonspot.net> Date: Wed, 1 Jun 2011 15:01:03 +0300 Message-ID: To: internals@lists.php.net Content-Type: text/plain; charset=UTF-8 Subject: Re: [PHP-DEV] RFC: Short syntax for Arrays (redux) From: arvids.godjuks@gmail.com (Arvids Godjuks) My personal feel about this is that yes, short arrays are not bad, but things like $a = new A; $a[array()]; just scare the crap of me when I see them. To me PHP is easy on syntax and it's good. When I see Ruby or Python code with all it's crazy magic I feel sick. Still one day I will have to learn one, but that doesn't mean PHP should go that way too (i'm not alien to system languages, I had some practice with Pascal, Delphi & C some years ago, just wanted to go the WEB path so migrated to PHP). If it's not too much, it would be good to avoid such strange constructs at all, because people are mean and they tend to do bad things in code.