[Koha-devel] tt style point
Mason James
mtj at kohaaloha.com
Tue Sep 20 04:52:19 CEST 2011
On 2011-09-20, at 9:51 AM, Robin Sheat wrote:
> Op dinsdag 20 september 2011 04:18:02 schreef MJ Ray:
>> Probably. I dislike delegating this decision to an O'Reilly book
>
> I prefer to delegate to Conway than some other arbitrary standard. The
> publisher is irrelevant.
>
>> So, why would it be worth changing the line length limits,
>> indentation, outdentation, brace-tightness, and semicolon spacing to pbp?
>
> Because: a) it's a standard that many perl editors understand, b) many perl
> programmers understand, c) it's less arbitrary than any other standard (as the
> reasoning is quite meticulously backed up), d) it's a pretty good standard, e)
> if you don't pick a standard then the code will continue to be quite ugly, and
> this is one we have now without years of quibbling over where braces should
> go, f) many people have access to the book and so can read the justifications
> if they wish.
>
> There's probably more reasons I haven't thought of.
>
i know i just wrote a ranty reply to HDL's email before on this thread... :p
but hey... Robin's above points are perfect
-PBP is a standard, and AFAIK its the only meticulously reasoned Perl formatting standard there is
if not -PBP, then what?
Mason
More information about the Koha-devel
mailing list