comp.lang.ada
 help / color / mirror / Atom feed
From: JJ <jj4public@vfemail.net>
Subject: Re: [BBC] Programmers who use spaces 'paid more'
Date: Mon, 19 Jun 2017 20:53:22 +0700
Date: 2017-06-19T20:53:22+07:00	[thread overview]
Message-ID: <199qat1lcmdkc$.lmbpz7dj77lx.dlg@40tude.net> (raw)
In-Reply-To: oi5vui$cva$1@dont-email.me

On Sun, 18 Jun 2017 21:45:16 +0800, Mr. Man-wai Chang wrote:

> Computer programmers who use spaces as part of their coding earn $15,370 
> (£12,000) more per year than those who use tabs, a survey of developers 
> has revealed.
> 
> Full story: <http://www.bbc.com/news/technology-40302410>
> 
> The survey found the salary difference stretched across different 
> languages, countries and experience levels.
> 
> The debate over whether it is better to use spaces or tabs to indent 
> code has raged among programmers for years.
> 
> Indents act like paragraph markers and help define how programs work.
> 
> The result was "surprising," said David Robinson, data scientist at 
> Stack Overflow which carried out the survey of 12,400 developers.
> 
> 'Pepsi or Coke question'
> 
> .... more ....
> 
> Whether tabs or spaces were used could have an impact, he said, when 
> hand-written code was turned into working software. This process is 
> handled by a separate program called an interpreter or compiler. Some of 
> these can crash if they encounter something, such as a tab, when they 
> were only expecting spaces.
> 
> Professional developers typically set up their coding editor to use 
> either tabs or spaces to show the relationships between functional 
> elements, he said. Code can get harder to read if viewed in an editor 
> expecting tabs and getting spaces or vice versa.

Tab characters are annoying. They messes the cursor's column position when
it's being moved up/down and through the middle of the non existing space
which was generated by the tab character.


  parent reply	other threads:[~2017-06-19 13:53 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 [this message]
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
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