From owner-cvs-all Tue Apr 2 13:20:40 2002 Delivered-To: cvs-all@freebsd.org Received: from apollo.backplane.com (apollo.backplane.com [216.240.41.2]) by hub.freebsd.org (Postfix) with ESMTP id 0C0ED37B41B; Tue, 2 Apr 2002 13:20:32 -0800 (PST) Received: (from dillon@localhost) by apollo.backplane.com (8.11.6/8.9.1) id g32LKTZ17685; Tue, 2 Apr 2002 13:20:29 -0800 (PST) (envelope-from dillon) Date: Tue, 2 Apr 2002 13:20:29 -0800 (PST) From: Matthew Dillon Message-Id: <200204022120.g32LKTZ17685@apollo.backplane.com> To: Kenneth Culver 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 References: <20020402154308.F46914-100000@alpha.yumyumyum.org> 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 :... :Well, I havn't been around since those days, but disk space is cheap now, :so I'm not sure that whole file bloat b/c of spaces being used instead of :.. :(This is with 8 char tabs on my emailer) : : if(blah) { : ret = foo(); :... : :Basically, I think that code would be more readable with smaller tabs, so :say I want to use 4 space tabs, I wouldn't have to keep continuing on the :next line all the time. I know this is personal opinion, and personal 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. -Matt Matthew Dillon :Again, I know this is all personal opinion, but I think it's much more :simple. :-) : :Ken To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message