|
From: Sebastien M. <me...@me...> - 2010-06-24 08:48:45
|
This is an unsolvable problem. People DO make mistakes. And when it comes to tabs they make a lot. The problem with hard-tabs is that you never see your own mess so you always feel you are doing the right thing. There is also added fun in the small differences in IDE and editors behaviours, some convert spaces to tabs when they shouldn't because they are auto indenting as you type. The 80 chars per line limit makes it even worse as it is not possible to have consistent multi lines indented properly (like, for instance, on the first line's opening parenthesis of a function call): if it works for you it will break of people with another number of space per tab. MNSHO: Tabs are evil and there is no real argument for them other than personal habits and preferences. S. On Jun 24, 2010, at 10:28 AM, Jim Barry wrote: > On 2010-06-24 01:34, Dirck Blaskey wrote: >> It's old fashioned, but it's consistent; it's guaranteed to work. If >> the file is edited with different tab settings, the code will jump in >> and out. It's not worth it. > > Well, that's the whole point, isn't it? If you prefer 2-space indents > and I prefer 4-space indents, then each of us can set the tab width we > desire without upsetting the other. There is no downside! > >> If the file is edited without tabs, then it doesn't matter what font& >> tab settings people use, does it? > > It does matter, because people like to use different amounts of > indent. Proper use of tabs stops this being a problem. > > - Jim > > ------------------------------------------------------------------------------ > ThinkGeek and WIRED's GeekDad team up for the Ultimate > GeekDad Father's Day Giveaway. ONE MASSIVE PRIZE to the > lucky parental unit. See the prize list and enter to win: > http://p.sf.net/sfu/thinkgeek-promo > _______________________________________________ > Vector-agg-general mailing list > Vec...@li... > https://lists.sourceforge.net/lists/listinfo/vector-agg-general |