[ Thread Index |
Date Index
| More lists.liballeg.org/allegro-developers Archives
]
- To: alleg-developers@xxxxxxxxxx
- Subject: Re: [AD] indentation
- From: Thomas Fjellstrom <tfjellstrom@xxxxxxxxxx>
- Date: Mon, 22 Aug 2005 01:14:42 -0600
- Domainkey-signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:from:to:subject:date:user-agent:references:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:message-id; b=JECJbgIYGtgpaOsdsJfjTP0J2Vlxxc7gayNDEelvRpxfVhgNxD5PuuA3VIDC5mZ5jQxj/2FYmWUrXtqeFeCwtJz7kqy72j+93Ft8lV4MblMcO9v+HlpDlgQ7kneNteKLATqXZ6zOdUjPyH2NbNssfZtgJBi1qNzzJ7OPL482+b4=
On August 22, 2005 01:11 am, Peter Wang wrote:
> On 2005-08-21, Thomas Fjellstrom <tfjellstrom@xxxxxxxxxx> wrote:
> > On August 21, 2005 02:58 pm, Grzegorz Adam Hankiewicz wrote:
> > > Yes, that's wrong. It would be right to use 3 or 4 columns for
> > > indentation and 8 colums for a tab.
> >
> > Its hardly wrong. Historically it was 8 columns, but I set mine to 3. all
> > indentation is saved as tabs, and my editor is set to display indentation
> > as a 3 space wide chunk of whitespace.
> >
> > And if you like 8 spaces, you can set your editor to that, and my code
> > won't look any worse than it did at 3, besides that it'll take up more
> > horizonatal screen space.
>
> More than likely there will be a mixture of spaces and tabs (due to some
> formatting styles or different editors, etc.), thus in practice large
> tracts of code will look terrible except at the original setting.
> Never mind that you won't see the code with your intended indentation
> when you just cat it out, stuff it in diff, put it on a web page, etc.
> without extra effort.
I was talking purely about my own coding. I won't use an editor if it doesn't
support using tabs chars as indentation, and allows me to set the indentation
display width :) (imo, noone else should either)
> But we have a compromise so we wouldn't discuss this anymore!
Yup Yup. <last>word</last> ;)
> Peter
>