comp.lang.ada
 help / color / mirror / Atom feed
From: Simon Wright <simon@pushface.org>
Subject: Re: [BBC] Programmers who use spaces 'paid more'
Date: Wed, 21 Jun 2017 13:27:48 +0100
Date: 2017-06-21T13:27:48+01:00	[thread overview]
Message-ID: <lyvanp4jaz.fsf@pushface.org> (raw)
In-Reply-To: oi5vui$cva$1@dont-email.me

"Mr. Man-wai Chang" <toylet.toylet@gmail.com> 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?

  parent reply	other threads:[~2017-06-21 12:27 UTC|newest]

Thread overview: 31+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-06-18 13:45 [BBC] Programmers who use spaces 'paid more' Mr. Man-wai Chang
2017-06-18 20:13 ` Per Sandberg
2017-06-18 23:03   ` J. Clarke
2017-06-19  0:22     ` Lew Pitcher
2017-06-19  5:50     ` Pascal J. Bourguignon
2017-06-19 14:28       ` Mr. Man-wai Chang
2017-06-20  3:00     ` Snit
2017-06-21 12:57       ` lyttlec
2017-06-19 10:46   ` Mr. Man-wai Chang
2017-06-19  1:19 ` Chris M. Thomasson
2017-06-19  2:23   ` J. Clarke
2017-06-19 19:42     ` Chris M. Thomasson
2017-06-20  1:49       ` frankmanning
2017-06-20  2:18         ` Dennis Lee Bieber
2017-06-21 13:02           ` lyttlec
2017-06-20  2:19       ` J. Clarke
2017-06-20 18:44         ` Chris M. Thomasson
2017-06-21 13:07         ` lyttlec
2017-06-19 10:47   ` Mr. Man-wai Chang
2017-06-19 11:24     ` AnthonyL
2017-06-19 12:26       ` Mr. Man-wai Chang
2017-06-19 13:53 ` JJ
2017-06-19 14:27   ` Mr. Man-wai Chang
2017-06-20 21:51   ` Anton Shepelev
2017-06-21 10:27 ` jm.tarrasa
2017-06-21 12:27 ` Simon Wright [this message]
2017-06-22  0:09   ` Robert Eachus
2017-06-21 16:48 ` Pascal J. Bourguignon
2017-06-21 16:52   ` Mr. Man-wai Chang
2017-07-05 18:36   ` Adam Jensen
2017-06-23  2:24 ` Randy Brukardt
replies disabled

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox