Groups | Search | Server Info | Login | Register


Groups > comp.programming > #7862

Re: [BBC] Programmers who use spaces 'paid more'

From "Chris M. Thomasson" <invalid@invalid.invalid>
Newsgroups comp.programming, comp.lang.clipper, comp.lang.c, comp.lang.ada, comp.databases.xbase.fox, alt.conspiracy
Subject Re: [BBC] Programmers who use spaces 'paid more'
Date 2017-06-19 12:42 -0700
Organization n/a
Message-ID <oi997u$efv$2@dont-email.me> (permalink)
References <oi5vui$cva$1@dont-email.me> <oi78k3$hb4$1@dont-email.me> <MPG.33b0ff99eb1a6e9398ad97@news.eternal-september.org>

Cross-posted to 6 groups.

Show all headers | View raw


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!

;^)

Back to comp.programming | Previous | NextPrevious in thread | Next in thread | Find similar


Thread

[BBC] Programmers who use spaces 'paid more' "Mr. Man-wai Chang" <toylet.toylet@gmail.com> - 2017-06-18 21:45 +0800
  Re: [BBC] Programmers who use spaces 'paid more' Per Sandberg <per.s.sandberg@bahnhof.se> - 2017-06-18 22:13 +0200
    Re: [BBC] Programmers who use spaces 'paid more' "J. Clarke" <j.clarke.873638@gmail.com> - 2017-06-18 19:03 -0400
      Re: [BBC] Programmers who use spaces 'paid more' Lew Pitcher <lew.pitcher@digitalfreehold.ca> - 2017-06-18 20:22 -0400
        Re: [BBC] Programmers who use spaces 'paid more' "J. Clarke" <j.clarke.873638@gmail.com> - 2017-06-18 22:20 -0400
      Re: [BBC] Programmers who use spaces 'paid more' "Pascal J. Bourguignon" <pjb@informatimago.com> - 2017-06-19 07:50 +0200
        Re: [BBC] Programmers who use spaces 'paid more' Ike Naar <ike@iceland.freeshell.org> - 2017-06-19 07:24 +0000
        Re: [BBC] Programmers who use spaces 'paid more' Ike Naar <ike@iceland.freeshell.org> - 2017-06-19 08:28 +0000
        Re: [BBC] Programmers who use spaces 'paid more' "Mr. Man-wai Chang" <toylet.toylet@gmail.com> - 2017-06-19 22:28 +0800
      Re: [BBC] Programmers who use spaces 'paid more' Snit <usenet@gallopinginsanity.com> - 2017-06-19 20:00 -0700
    Re: [BBC] Programmers who use spaces 'paid more' "Mr. Man-wai Chang" <toylet.toylet@gmail.com> - 2017-06-19 18:46 +0800
  Re: [BBC] Programmers who use spaces 'paid more' "Chris M. Thomasson" <invalid@invalid.invalid> - 2017-06-18 18:19 -0700
    Re: [BBC] Programmers who use spaces 'paid more' "J. Clarke" <j.clarke.873638@gmail.com> - 2017-06-18 22:23 -0400
      Re: [BBC] Programmers who use spaces 'paid more' "Chris M. Thomasson" <invalid@invalid.invalid> - 2017-06-19 12:42 -0700
        Re: [BBC] Programmers who use spaces 'paid more' "J. Clarke" <j.clarke.873638@gmail.com> - 2017-06-19 22:19 -0400
          Re: [BBC] Programmers who use spaces 'paid more' "Chris M. Thomasson" <invalid@invalid.invalid> - 2017-06-20 11:44 -0700
    Re: [BBC] Programmers who use spaces 'paid more' "Mr. Man-wai Chang" <toylet.toylet@gmail.com> - 2017-06-19 18:47 +0800
      Re: [BBC] Programmers who use spaces 'paid more' nospam@please.invalid (AnthonyL) - 2017-06-19 11:24 +0000
        Re: [BBC] Programmers who use spaces 'paid more' "Mr. Man-wai Chang" <toylet.toylet@gmail.com> - 2017-06-19 20:26 +0800
  Re: [BBC] Programmers who use spaces 'paid more' JJ <jj4public@vfemail.net> - 2017-06-19 20:53 +0700
    Re: [BBC] Programmers who use spaces 'paid more' Julio Di Egidio <julio@diegidio.name> - 2017-06-19 07:11 -0700
    Re: [BBC] Programmers who use spaces 'paid more' "Mr. Man-wai Chang" <toylet.toylet@gmail.com> - 2017-06-19 22:27 +0800
    Re: [BBC] Programmers who use spaces 'paid more' Anton Shepelev <anton.txt@gmail.com> - 2017-06-21 00:51 +0300
      Re: [BBC] Programmers who use spaces 'paid more' Julio Di Egidio <julio@diegidio.name> - 2017-06-20 14:56 -0700
  Re: [BBC] Programmers who use spaces 'paid more' Simon Wright <simon@pushface.org> - 2017-06-21 13:27 +0100
    Re: [BBC] Programmers who use spaces 'paid more' Julio Di Egidio <julio@diegidio.name> - 2017-06-21 05:36 -0700
  Re: [BBC] Programmers who use spaces 'paid more' "Pascal J. Bourguignon" <pjb@informatimago.com> - 2017-06-21 18:48 +0200
    Re: [BBC] Programmers who use spaces 'paid more' "Mr. Man-wai Chang" <toylet.toylet@gmail.com> - 2017-06-22 00:52 +0800
    Re: [BBC] Programmers who use spaces 'paid more' Adam Jensen <hanzer@riseup.net> - 2017-07-05 18:36 +0000

csiph-web