Path: csiph.com!eternal-september.org!feeder.eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail From: Simon Wright Newsgroups: comp.programming,comp.lang.clipper,comp.lang.c,comp.lang.ada Subject: Re: [BBC] Programmers who use spaces 'paid more' Date: Wed, 21 Jun 2017 13:27:48 +0100 Organization: A noiseless patient Spider Lines: 21 Message-ID: References: Mime-Version: 1.0 Content-Type: text/plain Injection-Info: mx02.eternal-september.org; posting-host="8b992217e2df40ec37af92fa1378d03f"; logging-data="24918"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1+/iz06z7YM2W+FSzqQZUwY7IDcMLSqmEw=" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.2 (darwin) Cancel-Lock: sha1:J409aA8iXCqOFvusgRDMZC8/GKY= sha1:wWVKpmCxPixHS5G9ulUmXgbIv6E= Xref: csiph.com comp.programming:7871 comp.lang.clipper:1317 comp.lang.c:112766 comp.lang.ada:33897 "Mr. Man-wai Chang" writes: > The debate over whether it is better to use spaces or tabs to indent > code has raged among programmers for years. Dead simple: use the TAB key to tell the editor to align the current/selected lines appropriately; and leave the editor to decide whether to use tab characters (C-I) to implement the indent or just spaces. I agree that you have a problem if your project standards require some weird setting, but it's still a question of customising the editor. I bet that 90+% of the Ada programmers who've read this thread are using GNAT, and if they are using either of the most likely editors (GPS or Emacs) they'll have this sorted for them without any need for fretting over it. Anyone who argues for tabs on the grounds that they save space is clearly living in 1987 at the latest. If you want to save space, why not remove all comments?