Forum Moderators: coopster
Needless to say, we need to clean out all the redundant code to make the MountainOfCodetm possible to understand and handle.
Types of redundant code which I've noticed in many cases:
if (false)) My question is:
What is the fastest (programmer time efficient) way to remove all of these?
I'd love it if there was some kind of PHP / Zend functionality to weed these out.
I'd love it if there was some kind of PHP / Zend functionality to weed these out.
It probably would have been nice to have one of those with suggestions that something unwanted is left somewhere. I haven't extensively searched for it, but I don't believe there is one.
But I would use your list, when I need to clean the code in a project completed. I normally try to make the code I write to be very structured reducing the amount of time spent in understanding and debugging the code at later times.
The thread is flagged, tnx.
The process has always been the same
rebuild underlying libraries, without changing functionality.
mass greps to find unused functions
slow rebuilding of each individual section
I have always tried to assess performance as the number one priority and keep in mind how difficult teach portion of the clean up is. Some things just never get changed because they don't matter.
I am wondering if there is a way to do that
(My test bed is a LAMP on XP)
In one shot, for this is a tedious process
Further in a manageable way all includes (used and re re used again)
Could they be included in one line (Guess it was mentioned a few months ago)
Hmmm not sure I defined it well :)