Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:65144 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 5973 invoked from network); 24 Jan 2013 11:00:32 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 24 Jan 2013 11:00:32 -0000 Authentication-Results: pb1.pair.com smtp.mail=lester@lsces.co.uk; spf=permerror; sender-id=unknown Authentication-Results: pb1.pair.com header.from=lester@lsces.co.uk; sender-id=unknown Received-SPF: error (pb1.pair.com: domain lsces.co.uk from 213.123.20.132 cause and error) X-PHP-List-Original-Sender: lester@lsces.co.uk X-Host-Fingerprint: 213.123.20.132 c2bthomr14.btconnect.com Received: from [213.123.20.132] ([213.123.20.132:58886] helo=mail.btconnect.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 18/A3-65404-C4411015 for ; Thu, 24 Jan 2013 06:00:29 -0500 Received: from host81-138-11-136.in-addr.btopenworld.com (EHLO _10.0.0.5_) ([81.138.11.136]) by c2bthomr14.btconnect.com with ESMTP id KNJ12266; Thu, 24 Jan 2013 11:00:25 +0000 (GMT) Message-ID: <51011448.6060401@lsces.co.uk> Date: Thu, 24 Jan 2013 11:00:24 +0000 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:17.0) Gecko/17.0 Firefox/17.0 SeaMonkey/2.14 MIME-Version: 1.0 To: PHP Developers Mailing List Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Mirapoint-IP-Reputation: reputation=Fair-1, source=Queried, refid=tid=0001.0A0B0303.51011449.000D, actions=tag X-Junkmail-Premium-Raw: score=7/50, refid=2.7.2:2013.1.24.103316:17:7.944, ip=81.138.11.136, rules=__MOZILLA_MSGID, __HAS_MSGID, __SANE_MSGID, __FW_1LN_BOT_MSGID, __HAS_FROM, __USER_AGENT, __MOZILLA_USER_AGENT, __MIME_VERSION, __TO_MALFORMED_2, __SUBJ_ALPHA_END, __CT, __CT_TEXT_PLAIN, __CTE, __ANY_URI, __URI_NO_MAILTO, __URI_NO_WWW, __C230066_P3_4, __CP_URI_IN_BODY, BODY_ENDS_IN_URL, BODY_SIZE_1900_1999, BODYTEXTP_SIZE_3000_LESS, __MIME_TEXT_ONLY, RDNS_GENERIC_POOLED, HTML_00_01, HTML_00_10, BODY_SIZE_5000_LESS, RDNS_SUSP_GENERIC, RDNS_SUSP, BODY_SIZE_2000_LESS, BODY_SIZE_7000_LESS X-Junkmail-Status: score=10/50, host=c2bthomr14.btconnect.com X-Junkmail-Signature-Raw: score=unknown, refid=str=0001.0A0B0203.51011449.00F1:SCFSTAT14830815,ss=1,re=-4.000,fgs=0, ip=0.0.0.0, so=2011-07-25 19:15:43, dmn=2011-05-27 18:58:46, mode=multiengine X-Junkmail-IWF: false Subject: Accessors in general From: lester@lsces.co.uk (Lester Caine) I've kept my head down since it's obvious that there is still no consensus as to how the latest accessors system will work including an RFC to change what is being proposed if it's accepted anyway? THAT is just wrong! Part of the problem I see is that people want to replace the __get/__set version which was a previous iteration with something that 'works better' but can still co-exist with that. Is THIS part of the problem? As is my way, I've never used __get/__set simply because it always felt wrong. I want code that relates to the variable directly rather than having to hard code every variable into the getter/setter? Now we are looking at 'bodges' to allow a new system to co-exist with something which people find faulty? vd() works well for me fault finding since day 1 and having to rewrite that to show what is going on under the hood does not make sense to me. Perhaps the whole problem here is the fact that BC is sacrosanct when perhaps it would make sense to produce a proper fork from something that is not working well? Much like traits is getting a proper overhaul - even if some of us will never use it. Pushing new things in which are a 'compromise' already is not the way to be improving the language? People keep going on about reducing boilerplate code side so there is less to type, but with the right EXTERNAL tools many of the complaints simply evaporate and so the feeling I am seeing in the accessors debate is "does the additional complexity really justify the savings?" Does the core code actually need to be loaded down with ALL these additions when there are other ways to achieve the same results? -- Lester Caine - G8HFL ----------------------------- Contact - http://lsces.co.uk/wiki/?page=contact L.S.Caine Electronic Services - http://lsces.co.uk EnquirySolve - http://enquirysolve.com/ Model Engineers Digital Workshop - http://medw.co.uk Rainbow Digital Media - http://rainbowdigitalmedia.co.uk