Re: Code beautifier

From: Date: Fri, 25 Jul 2008 16:35:38 +0000
Subject: Re: Code beautifier
References: 1 2 3 4 5  Groups: php.general 
Request: Send a blank email to php-general+get-277322@lists.php.net to get a copy of this message
At 3:17 PM -0300 7/24/08, Thiago H. Pojda wrote:
On Thu, Jul 24, 2008 at 3:14 PM, mike <mike503@gmail.com> wrote:
On 7/24/08, Thiago H. Pojda <thiago.pojda@gmail.com> wrote: sadly, I still go and reformat other coworker's code anyway, heh. Yeah, I'm
-that bad- That's why I looked for a tool like that months ago. Big project from someone else, do you feel like reformatting hundreds of files with hundreds (thousands?) of lines manually?
I do it all the time. In fact, I enjoy doing it (no I don't want to do it for anyone else). What I find interesting/entertaining is reducing the amount of code down to what's actually necessary and then reorganizing the code to make routines more optimum and generic. Most of the stuff I review is reduced considerably. In short, it's a great way for me to both learn and build my own library. When clients don't have me pounding keys for their service, I enjoy reviewing, rewriting code and creating demos. However, I would never use a Code beautifier because as I go through the code, the only code that get beautified is the code that I approve. When I see code formatted differently than mine, then I know it's suspect and I need to review it. Cheers, tedd -- ------- http://sperling.com http://ancientstones.com http://earthstones.com

« previous php.general (#277322) next »