From owner-cvs-all Tue Apr 2 13:39:28 2002 Delivered-To: cvs-all@freebsd.org Received: from mailhub.yumyumyum.org (dsl092-171-091.wdc1.dsl.speakeasy.net [66.92.171.91]) by hub.freebsd.org (Postfix) with SMTP id 4DB5637B41A for ; Tue, 2 Apr 2002 13:39:06 -0800 (PST) Received: (qmail 47896 invoked from network); 2 Apr 2002 21:38:30 -0000 Received: from dsl092-171-091.wdc1.dsl.speakeasy.net (66.92.171.91) by dsl092-171-091.wdc1.dsl.speakeasy.net with SMTP; 2 Apr 2002 21:38:30 -0000 Date: Tue, 2 Apr 2002 16:38:30 -0500 (EST) From: Kenneth Culver To: Matthew Dillon Cc: Mike Barcroft , "M. Warner Losh" , , , Subject: Re: cvs commit: src/sys/i386/i386 critical.c src/sys/i386/include cpufunc.h critical.h src/sys/i386/isa apic_vector.s icu_vector.s src/sys/kern kern_fork.c kern_proc.c kern_switch.c src/sys/alpha/alph In-Reply-To: <200204022120.g32LKTZ17685@apollo.backplane.com> Message-ID: <20020402163309.J47850-100000@alpha.yumyumyum.org> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-cvs-all@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG > I think you are missing the point here. There is no law that requires > you to use the same indentation in your source as your hard tabs. People > using an indentation of 4 almost universally use hard tabs of 8, > for example. But if you change your tab stops, the text/source you > are writing is only going to look correct in your editor session, not > in anyone else's and it certainly will not print properly without > some fooling around. > > That's why most people no longer try to change their hard tabs to > be anything other then 8. > > :coding style, but if I use spaces, every engineer/programmer that looks at > :my code will see the code the way I originally wrote it. I don't care if > :it takes extra space because I have 30 GB of disk space (or 10, or 5, > :either way it doesn't really matter that much anymore because disk space > :is cheap). > > This is rather silly, I think. Hard tabs of 8 are the standard. If > you use anything else then you deserve whatever editing/viewing/printing > mess you get IMHO. The world is unlikely to change in this regard > so you pretty much have no choice if you want to work in a larger > development community. Believe me, developers get really unhappy > when they see people distributing code that requires hard tabs to > be changed. You could ship all your source using spaces, but it > doesn't help you on the receiving end of things. > > I remember when I wrote an editor called DME for the Amiga. Even > back then I was so sick and tired of people doing weird things with > tabs that I made DME normalize everything to tabs of 8 when saving > and loading text files. > I also fully agree that tabstops should be set to 8, but my point is that not everyone does that, as I've seen code with comments like this: /* This code should be viewed with tabstops of x */ I find this extremely annoying, and so I write my code with spaces, that way no matter what some other programmer sets his tabstops to, he/she will see my code the way I wrote it. Thats all I'm saying, I got your point and was just making another one. Whether it's valid or not is another story. :-) Ken To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message