Re: Code beautifier
| From: | Bastien Koert | Date: | Thu, 24 Jul 2008 18:27:07 +0000 |
| Subject: | Re: Code beautifier | ||
| References: | 1 2 3 4 5 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-277264@lists.php.net to get a copy of this message | ||
On Thu, Jul 24, 2008 at 2:22 PM, Stut <stuttle@gmail.com> wrote:
> On 24 Jul 2008, at 19:14, mike wrote:
>
>> On 7/24/08, Thiago H. Pojda <thiago.pojda@gmail.com> wrote:
>>
>> That doesn't work when you get code from someone else that wasn't prudent
>>> enough ;)
>>>
>>
>> I figured that'd be the reply - "it's not my code" ... sadly, I still
>> go and reformat other coworker's code anyway, heh. Yeah, I'm -that
>> bad-
>>
>
> That's not just bad, it's downright anti-productive. You need to either
> have a standard style across a team or accept that other developers format
> their code differently. If you spend time reformatting other peoples code
> it's a waste of your time. Differently (not that I didn't say badly)
> formatted code does not make it wrong, it's just different and if you can't
> live with that then you need to work on getting your preferred format
> adopted as the standard for the team.
>
> IMHO.
>
> -Stut
>
> --
> http://stut.net/
>
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>
>
Standard styles are the best to gain that consistency, but a bear to
implement. I've developed and implemented on at my work, but ts so hard to
enforce when you are not supported by those above you who are also coding.
--
Bastien
Cat, the other other white meat