From: "Chris M. Thomasson" <invalid@invalid.invalid>
Subject: Re: [BBC] Programmers who use spaces 'paid more'
Date: Mon, 19 Jun 2017 12:42:20 -0700
Date: 2017-06-19T12:42:20-07:00 [thread overview]
Message-ID: <oi997u$efv$2@dont-email.me> (raw)
In-Reply-To: <MPG.33b0ff99eb1a6e9398ad97@news.eternal-september.org>
On 6/18/2017 7:23 PM, J. Clarke wrote:
> In article <oi78k3$hb4$1@dont-email.me>, invalid@invalid.invalid says...
>>
>> On 6/18/2017 6:45 AM, 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.
>>>
>>
>> What about setting up the single press of the tab key to insert n
>> spaces? ;^)
>
> That's what he said.
>
> However generally speaking an editor that is set up to insert tabs has no
> problem _displaying_ code that was indented with spaces.
>
>
For some reason I was thinking of the following video clip from the
Silicon Valley series on HBO:
https://youtu.be/SsoOG6ZeyUI
This person actually presses the damn space key n times, where n is the
number of spaces. WOW!
;^)
next prev parent reply other threads:[~2017-06-19 19:42 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 [this message]
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
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