Re: Tabs -vs- Spaces: Tabs should have won.
- From: Ian Kelly <ian.g.kelly@xxxxxxxxx>
- Date: Sun, 17 Jul 2011 16:02:21 -0600
On Sun, Jul 17, 2011 at 1:54 PM, rantingrick <rantingrick@xxxxxxxxx> wrote:
On Jul 17, 1:48 pm, Ian Kelly <ian.g.ke...@xxxxxxxxx> wrote:
Let me get this straight. You want us to use tabs so that individuals
can set their tab width to however many spaces they want, but then you
want everybody to set their tab widths to 4 spaces. You're
contradicting yourself here.
In my mind people are free to use whatever width they like. A tab is a
tab is a tab. However for judging line widths we must pick one size
tab (since 8 space tabs will create longer lines than four space tabs.
This four space mandate is ONLY for determining line width. Let me
repeat. ONLY FOR DETERMINING LINE WIDTH.
How else could we decide what is truly 80 chars and what is not?
You're so focused on declaring code as compliant or not that you're
missing the whole point of having the line width mandate in the first
place. It exists so that people using 80-column editors can open up
code without having line-wrapping problems. You can arbitrarily
declare that line width is to be measured using 4-space tabs, and you
can stamp code as being correctly formatted by that metric all you
want, but it doesn't change the fact that if somebody with 8-space
tabs opens up a file and has to deal with line-wrapping problems, the
system has failed them.
.
- Follow-Ups:
- Re: Tabs -vs- Spaces: Tabs should have won.
- From: Roy Smith
- Re: Tabs -vs- Spaces: Tabs should have won.
- References:
- Tabs -vs- Spaces: Tabs should have won.
- From: rantingrick
- Re: Tabs -vs- Spaces: Tabs should have won.
- From: Cameron Simpson
- Re: Tabs -vs- Spaces: Tabs should have won.
- From: Steven D'Aprano
- Re: Tabs -vs- Spaces: Tabs should have won.
- From: rantingrick
- Re: Tabs -vs- Spaces: Tabs should have won.
- From: Ian Kelly
- Re: Tabs -vs- Spaces: Tabs should have won.
- From: rantingrick
- Tabs -vs- Spaces: Tabs should have won.
- Prev by Date: Re: a little parsing challenge ☺
- Next by Date: Re: Tabs -vs- Spaces: Tabs should have won.
- Previous by thread: Re: Tabs -vs- Spaces: Tabs should have won.
- Next by thread: Re: Tabs -vs- Spaces: Tabs should have won.
- Index(es):