The most important issue is just that it all looks the same in the end
and that you shouldn't be able to tell who authored the type based on
the format styling alone.
That being said, I am going to argue in favor of what looks as
intended when downloaded and opened in the environment we expect this
to be opened in the most. In this case thats Visual Studio, so the
formatting needs to all conform to the defaults of Visual Studio.
I completely understand people wanting to change the formatting for
how they feel it should be, we all do it, but I can't stand it when I
sit down to play a video game after someone has changed the default
controls around. Naturally you can set it up however you want it when
you're working with it, but please return to default for the next
user.
On Nov 25, 6:35 am, Jon Skeet <
sk...@pobox.com> wrote:
> As you say, Visual Studio can let you reformat anyway. One advantage of
> spaces over tabs: it's the Visual Studio default as far as I'm aware. If we
> were going to start changing things like that, I'd be advocating two space
> block indentation with four space line continuation. (Except that I'm not
> sure VS has separate options for that. Doh.)
>
> But yes, it's a religious issue. I've only *ever* seen problems with tabs
> (particularly when code is viewed in settings other than the IDE), and no
> real benefits.
>
> It would be quite nice to have a "reformat to standard <x> on commit;
> reformat to standard <y> on update" option somewhere, so everyone gets to
> see it the way they want, but it does mean completely trusting the
> reformatter for everything...
>
> Jon
>
> 2009/11/25 Philippe Vlérick <
pvler...@gmail.com>
>
>
>
> > Religious debate ahead :)
>
> > I'm on the tab side. When you use spaces, you force everyone to see the
> > code as *you* like it. I don't see any advantage of using spaces instead
> > of tabs.
>
> > However, I'm not rigid on practices, even if I don't like them. If
> > we decide spaces, I'll use spaces. There's an option to do that in VS
> > anyway.
>
> > On Wed, Nov 25, 2009 at 8:34 AM, The Configurator <
configura...@gmail.com>wrote:
>
> >> Who in their right mind uses 8 character tabs with 4 character
> >> indentation? That doesn't make any sense...
>
> >> The good point about tabs and indentation is that if I like 4 characters
> >> indentation and a co-worker likes 3, we can (and did) coexist peacefully
> >> quite well. Simple change settings to match your preference and voila - code
> >> file is the same, but looks however you like it. Of course, that could only
> >> work when tabs are mandatory, which they were where I did this.
>
> >> On Wed, Nov 25, 2009 at 7:49 AM, Jon Skeet <
sk...@pobox.com> wrote:
>
> >>> 2009/11/25 James Keesey <
james.kee...@gmail.com>