Groups | Search | Server Info | Login | Register


Groups > comp.databases.xbase.fox > #80

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

From "J. Clarke" <j.clarke.873638@gmail.com>
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-18 22:23 -0400
Organization A noiseless patient Spider
Message-ID <MPG.33b0ff99eb1a6e9398ad97@news.eternal-september.org> (permalink)
References <oi5vui$cva$1@dont-email.me> <oi78k3$hb4$1@dont-email.me>

Cross-posted to 6 groups.

Show all headers | View raw


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.

Back to comp.databases.xbase.fox | 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' "Pascal J. Bourguignon" <pjb@informatimago.com> - 2017-06-19 07:50 +0200
        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' "Mr. Man-wai Chang" <toylet.toylet@gmail.com> - 2017-06-19 22:27 +0800
  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

csiph-web