Re: 2 spaces or 4?
Scott Evans <gse <at> laszlosystems.com>
2006-08-01 00:19:59 GMT
XML needs 2 spaces more than anything!
On Fri, 28 Jul 2006, Jim Grandy wrote:
> Perhaps that argues for 2 spaces for .js/.lzs/.as files and 4 spaces
> for .lzx files...
>
> On Jul 28, 2006, at 4:49 AM, P T Withington wrote:
>
> > Yes, I have the design whitespace issue fairly well beaten into me by
> > Neil.
> >
> > But is it true you can never have too much whitespace? Why do we use
> > only 4 spaces? Why not 8, or 80? I can see that 1 is not visually
> > distinct, but in a fixed width font, 2 seems enough. And if we
> > enforce 80 cols, 4 can start to seem wasteful. There are deeply
> > nested blocks in the LFC where the lines get _very_ short because of
> > the 4-space indent.
> >
> > Now that we are moving to class declarations, your function body
> > starts out with 2 levels of indentation, add a little control flow,
> > and before you know it, you have less than 50 chars left on your
> > line...
> >
> > On 2006-07-28, at 00:33 EDT, Sarah Allen wrote:
> >
> >> my $.02...
> >>
> >> I like 4 spaces, but maybe that's just because Adam insisted upon
> >> in at the beginning of time and I've just gotten used to it.
(Continue reading)