develooper Front page | perl.perl5.porters | Postings from May 2012

Re: RFC: Proposal to change the editor hints in core files to expand tabs

Thread Previous | Thread Next
From:
Leon Timmermans
Date:
May 21, 2012 02:27
Subject:
Re: RFC: Proposal to change the editor hints in core files to expand tabs
Message ID:
CAHhgV8hX1oRdARu1yMsPartCc5+BssYGcUnsKze0ddRgobOrag@mail.gmail.com
On Mon, May 21, 2012 at 5:34 AM, Karl Williamson
<public@khwilliamson.com> wrote:
> Perl Best Practices suggests that tabs be expanded in Perl source, for a
> number of reasons.  I often run into similar issues in C source.  And I
> think others have complained too.  I agree with Damian on this.
>
> Instead of making a big patch to do this, I suggest that we just change the
> editor hints at the bottom of the files to expand tabs.  Then, as lines get
> changed in the files, they will conform to the new paradigm.
>
> I suggested this to rjbs some time ago, and he wanted to wait until early in
> 5.17 to vet this, so here it is.

If I understand this right, this would result in files having
mixed-style whitespace. I think that would be a fairly bad thing. I
don't think this is a good idea.

Leon

Thread Previous | Thread Next


nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About