Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:78640 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 42468 invoked from network); 4 Nov 2014 14:30:37 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 4 Nov 2014 14:30:37 -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 217.147.176.214 cause and error) X-PHP-List-Original-Sender: lester@lsces.co.uk X-Host-Fingerprint: 217.147.176.214 mail4-2.serversure.net Linux 2.6 Received: from [217.147.176.214] ([217.147.176.214:33801] helo=mail4.serversure.net) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 75/76-06676-C03E8545 for ; Tue, 04 Nov 2014 09:30:37 -0500 Received: (qmail 11565 invoked by uid 89); 4 Nov 2014 14:30:32 -0000 Received: by simscan 1.3.1 ppid: 11558, pid: 11562, t: 0.2656s scanners: attach: 1.3.1 clamav: 0.96/m:52/d:10677 Received: from unknown (HELO ?10.0.0.8?) (lester@rainbowdigitalmedia.org.uk@86.163.79.60) by mail4.serversure.net with ESMTPA; 4 Nov 2014 14:30:32 -0000 Message-ID: <5458E306.50006@lsces.co.uk> Date: Tue, 04 Nov 2014 14:30:30 +0000 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Thunderbird/31.2.0 MIME-Version: 1.0 To: PHP internals References: <5458CEAF.7060204@lsces.co.uk> <5458D492.9040207@lsces.co.uk> In-Reply-To: Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit Subject: Re: [PHP-DEV] Debugging code ... From: lester@lsces.co.uk (Lester Caine) On 04/11/14 14:01, Florian Margaine wrote: > Hi, > > On Tue, Nov 4, 2014 at 2:28 PM, Lester Caine > wrote: > > On 04/11/14 13:13, Florian Margaine wrote: > > On the basis of 'If it's not broken', what is actually broken, > and what > > is just a matter of 'I don't like that way of working'? > > > > I have a working Annotation system that has not changed since > I started > > working with PHP. PHPEclise simple displays the information > from the > > docblock comments and allows me to open the relevant file. I > can then > > review the other functions available. I can update the > material and have > > even resorted to porting files and adding extra notes when > trying to > > decipher other peoples work. > > > > The problem these days is that projects are stripping the > docblock data > > as 'not the modern way of doing things' and we end up with > code that > > does not work with the IDE. Fortunately DVCS systems have some > other > > advantages and one can cherry pick code changes while > maintaining a > > different style of working. > > > > In addition to 'Annotation', there is a lot of discussion > about adding > > types into the code. Having moved to using arrays to pass data to > > functions, the docblock material includes details on what is > required in > > the hash, something that you will never get from any of the > current > > discussions? > > > > Just to add to the fun, PHPEclipse seems to have lost support > and while > > I have learnt enough Java in the past to fix a few little niggles, > > currently it is unable to cope with a number of new > developments in PHP > > so I'm stuck on just what IS the next move ... While it would > be nice to > > get on with some new code, nothing is stable enough these days > to allow > > that :( > > > > Right now, I'm afraid your emails looks like a rant more than anything > > else. I'm absolutely certain that you have something interesting > to say, > > but the message just didn't get through. Could you elaborate? > > Just that what many of us have used for years is coming under increasing > pressure as other people promote their own way of working. In the past > we have been able to co-exist, but it is becoming increasingly difficult > as people 'update' coding styles. Anything that is added to the 'core' > WILL be used to update third party code, but the rest of the > infrastructure is simply not keeping up. > > > I'm sorry... I may be stupid. I'm not sure I understand what you want to > say. > I have a guess though: are you saying that, for example, PHPEclipse at > its version from 2008 can't cope up with PHP at its version from 2014? Every IDE I've used has always working nicely with docblock annotation and typing and has provided the facilities people seem to think should be built in to PHP. The problem with keeping the available IDE's up to date with the current code is secondary and PHPEclipse just happens to be my preference, but if I switch to other options I find similar lag in support for key features. Learning a new platform is a bigger stopper currently than living with the holes and I will probably fix the problem with :: before giving up in and changing ... but it would be nice not to have the hassle. -- 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