From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on polar.synack.me X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00 autolearn=unavailable autolearn_force=no version=3.4.4 Path: eternal-september.org!reader01.eternal-september.org!reader02.eternal-september.org!news.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 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: news.eternal-september.org comp.programming:20035 comp.lang.clipper:3029 comp.lang.c:191626 comp.lang.ada:47038 Date: 2017-06-21T13:27:48+01:00 List-Id: "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?