Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:59734 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 54326 invoked from network); 11 Apr 2012 15:19:26 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 11 Apr 2012 15:19:26 -0000 Authentication-Results: pb1.pair.com header.from=luke@cywh.com; sender-id=unknown Authentication-Results: pb1.pair.com smtp.mail=luke@cywh.com; spf=permerror; sender-id=unknown Received-SPF: error (pb1.pair.com: domain cywh.com from 209.85.212.42 cause and error) X-PHP-List-Original-Sender: luke@cywh.com X-Host-Fingerprint: 209.85.212.42 mail-vb0-f42.google.com Received: from [209.85.212.42] ([209.85.212.42:39128] helo=mail-vb0-f42.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 88/72-36454-DF0A58F4 for ; Wed, 11 Apr 2012 11:19:25 -0400 Received: by vbjk13 with SMTP id k13so788718vbj.29 for ; Wed, 11 Apr 2012 08:19:22 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=references:from:in-reply-to:mime-version:date:message-id:subject:to :cc:content-type:x-gm-message-state; bh=doz1cZ9WfeVug5kNvkLX01nRffxhfKGpw8v+WslWYRs=; b=TqLPNlPoAnbN344aUkQY/UIOFIaw2HlCCNR0LkEcUpAFy60wwr3SVJ+VU4TQ3QTQkm ZMo+indWnkEwfTdBATI8otPvo6fzRF6Lcwh8I3v2p23h/3JZRSx7NxjU8IjRUiaDVQr4 KjrE+xutyzd8m6/2QBcf61VY5H+i4kt5xzfNPq9jDNW1HY7zhp/YCr36xHiekKxur2ee WKOmJ7v+hHvEhP4OtMMGKWLxIiyABInnLWkZwoo0Em8LsPJeOkfMQDXRjRWJolMr2BOL 5bvPdhBj6zsZsOIVX9bduSIcydvAh+OBwIcsHj7F/10szqwcBKgUMsy0IsKVQsK0/gPS YGEQ== Received: by 10.52.69.69 with SMTP id c5mr6353162vdu.43.1334157562409; Wed, 11 Apr 2012 08:19:22 -0700 (PDT) References: In-Reply-To: Mime-Version: 1.0 (1.0) Date: Wed, 11 Apr 2012 08:19:21 -0700 Message-ID: <-2535359201658036561@unknownmsgid> To: Adir Kuhn Cc: PHP Internals Content-Type: text/plain; charset=ISO-8859-1 X-Gm-Message-State: ALoCoQlnkzONbbCsHBfqPEVxcIkDdbgHcXcInfybB3wYt8PiktXjz3IlfZeGLWlOR5O0ZRP1a+xD Subject: Re: [PHP-DEV] [off] PHP: a fractal of bad design From: luke@cywh.com (Luke Scott) I do agree with a lot of what was being said. But what can you do? These are mostly quirks of the language. You learn to live with them. I don't make excuses for it. It is what it is. The only thing that infuriates me is the ternary operator being left associative. I want that fixed - screw bc on that one! I have been programming for 10 years and that one still confuses me! Most people just add parentheses to "fix" the problem. I wish someone would write an RFC to change this to right associative like every other language! *hint hint* Luke Scott On Apr 10, 2012, at 9:21 AM, Adir Kuhn wrote: > Hi folks, > > today I read this post, I think that some points are valid, follow the link for > you guys > > http://me.veekun.com/blog/2012/04/09/php-a-fractal-of-bad-design/ > > Adir Kuhn > ZCE - Zend Certified Engineer **PHP 5.3 #ZEND004035 > PSMI - Professional Scrum Master I