RE: Tabs and coding style (was: AT2 rewrites)

Kieran <[email protected]>
Newsgroups gmane.comp.mobile.kannel.devel
Message-ID <[email protected]>
On Thu, 22 Aug 2002, Oded Arbel wrote:

>
> > -----Original Message-----
> > From: Andreas Fink [mailto:[email protected]]
>
> > >>  Why can't you people just get an editor that auto-indents
> > >>  with spaces? :]
> > >
> > >Isn't that the whole point ? I have an editor which indents with
> > >spaces (KDevelop). All the Kannel sources either do not have tab
> > >stops at all, or very little - so how about just forgetting about
> > >tab stops completly ?
> >
> >
> > Again, to edit, you would expect to type TAB, not ever editor allows
> > to simply put spaces up to the next 4. Also if you delete one space
> > its gets messy. So really it means typing spaces BY HAND which I
> > consider really bad practice.
>
> Not if your editor can auto-indent with spaces, as any modern editor these days does.
>
> > Those editors who are using spaces as replacements for tabs are from
> > the days where you had no GUI, no mouse and no WYSIWIG.
>
> Actually - it's a newer feature. tabs are phasing out as a way to
> indent text, as you now have strong editors that don't need tabs for
> that. most editors that are still missing this feature are adding it
> now (like Kdevelop, who only got the auto-indent with spaces properly
> in the last version).
>
Is the kannel coding style documented anywhere?

I spent a few minutes searching, and couldn't turn it up.

Regards

Kieran
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.