[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Tabs v.s. spaces

On Mon, Nov 17, 2003 at 08:56:49PM -0500, H. S. Teoh wrote:

| Nevertheless, I find 8-space indentation too wasteful, 4-space
| indentation too cumbersome to type, and 1-space indentation
| unreadable.

Your editor should do that for you! :-)  e.g. set softtabstop=4 in vim
will allow you to have 4-character indentation by pressing the tab key
and outdentation by pressing backspace, but the file will contain spaces
instead of tabs.  I would be surprised if other editors did not have a
similar feature.

Personally I prefer 8-space indentation, though.


Reply to: