Richard Hartmann 写道:
> 
> And with tabs, people are a lot more flexible.
> 
> That as may be, let's agree to disagree.
I agree it is good to be flexible.

But by using hard tabs for indent you're *forcing* a non-standard 
tab-size, and you're forcing tab size to be the same as indent size. (In 
vim, that means you're forcing ts=sw)

Indent size of 8 is too big for most programmers (except Linus Thorvald 
and some kernel hackers), if you use hard tabs for indent you *forced* 
that hard tab size should be the same as indent size and those people 
viewing your code will have to change the tab size to a smaller value in 
order to view your code more comfortably.

If you do not use hard tabs in source code, we can still keep tab size 
as the standard 8 and view the code as indent size 4, since 4 spaces 
will always be 4 spaces. Keep tab-size as 8 does not mean I want to use 
shift-width or indent-size as 8, I use shift-width as 4 and keep 
tab-size to 8.

Think considerably what is discouraging collaboration when you *force* 
other programmers to change the standard tabsize=8 into 4 just in order 
to view your code?

> 
> 
> Richard


--~--~---------~--~----~------------~-------~--~----~
You received this message from the "vim_use" maillist.
For more information, visit http://www.vim.org/maillist.php
-~----------~----~----~----~------~----~------~--~---

Reply via email to