Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:82258 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 7714 invoked from network); 9 Feb 2015 10:40:48 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 9 Feb 2015 10:40:48 -0000 Authentication-Results: pb1.pair.com smtp.mail=rowan.collins@gmail.com; spf=pass; sender-id=pass Authentication-Results: pb1.pair.com header.from=rowan.collins@gmail.com; sender-id=pass Received-SPF: pass (pb1.pair.com: domain gmail.com designates 74.125.82.47 as permitted sender) X-PHP-List-Original-Sender: rowan.collins@gmail.com X-Host-Fingerprint: 74.125.82.47 mail-wg0-f47.google.com Received: from [74.125.82.47] ([74.125.82.47:55934] helo=mail-wg0-f47.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 72/4B-50460-FAE88D45 for ; Mon, 09 Feb 2015 05:40:47 -0500 Received: by mail-wg0-f47.google.com with SMTP id n12so25865331wgh.6 for ; Mon, 09 Feb 2015 02:40:44 -0800 (PST) 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:subject:references :in-reply-to:content-type; bh=7iP1UNdoWHHoKAuQ1O+yToefPkcbkgONSg+BtNvXSJQ=; b=lstP4bYujHuqsubNJ8yFWlVMuw73eoHFQbycUoNa9rCgucZ9B6tk6pSmvTM/qHpWny azSO75INT4NYLCVYpmNw7qvu8n5M6F7/YoV1xNeVeRUack3lIKtuASQw2uv3B9zW5Ku6 tVCBRV5HyMzIRXcBPS5h0Yudp2q6Kt90oRbXDWJfU7jyVccbZTQyhEr9Aonm9NIKF5OB KFs2o43gw6Mrf0D2vjtRDUy7VotJTFwYWIfaoJ5bkpMsGCdFHwkkQVacFYAqpod5ZE7y WFaFAzveWIDtKaSEyl4DOnxjsoNlPqF0f7XP7fU/9tCkBdfQatU1bWWs0hDkUTCZDI8j jzfw== X-Received: by 10.180.90.177 with SMTP id bx17mr33687180wib.36.1423478443959; Mon, 09 Feb 2015 02:40:43 -0800 (PST) Received: from [192.168.0.172] ([62.189.198.114]) by mx.google.com with ESMTPSA id et4sm15780491wjd.15.2015.02.09.02.40.42 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 09 Feb 2015 02:40:43 -0800 (PST) Message-ID: <54D88E8D.8060104@gmail.com> Date: Mon, 09 Feb 2015 10:40:13 +0000 User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:31.0) Gecko/20100101 Thunderbird/31.4.0 MIME-Version: 1.0 To: internals@lists.php.net References: <54D606D2.7030102@lsces.co.uk> <54D74BFF.3070604@b1-systems.de> <54D756D4.20006@lsces.co.uk> <54D7B267.5000902@gmail.com> <54D7CCB5.2020709@lsces.co.uk> <54D7F9BD.9080407@gmail.com> <54D80DFF.6090005@lsces.co.uk> In-Reply-To: <54D80DFF.6090005@lsces.co.uk> Content-Type: multipart/alternative; boundary="------------070505060407030108010400" Subject: Re: [PHP-DEV] Dragging the legacy users forward. From: rowan.collins@gmail.com (Rowan Collins) --------------070505060407030108010400 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit Lester Caine wrote on 09/02/2015 01:31: > On 09/02/15 00:05, Rowan Collins wrote: >>> >>Some of the new 'styles' of writing things are >>> >>going to make things considerably worse for those who are going to have >>> >>to maintain this code in the future. >> > >> >If you're writing code that you know will be hard to maintain in the >> >future, you're doing something wrong. If by slavishly following a style >> >guide you've ended up with a poor architecture, you need a better style >> >guide, or a better understanding of why those styles are preferred. >> > >> >Alternatively, I may have misunderstood that sentence, in which case I >> >apologise in advance. > Something*I* have been asking for for the last few years IS a better > 'style guide' ... There are a growing number of 'styles' and the current > debate is to allow even more! Just about every framework has a different > style of handling database abstraction, and that seems to change every > major version as well. All of my own code is based around ADOdb, but now > it seems THAT is not an acceptable style of code these days. This is true of pretty much every language under the sun, and isn't really relevant to the internals of the language. It's about finding books, websites, libraries, and experts who you trust and agree with on matters of opinion and prediction. PHP-FIG is working on standardising some aspects, but others will always be a matter of fashion and taste. Regards, -- Rowan Collins [IMSoP] --------------070505060407030108010400--