Path: csiph.com!eternal-september.org!feeder.eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail From: "Chris M. Thomasson" 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: Sun, 18 Jun 2017 18:19:28 -0700 Organization: n/a Lines: 37 Message-ID: References: Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 8bit Injection-Date: Mon, 19 Jun 2017 01:15:47 -0000 (UTC) Injection-Info: mx02.eternal-september.org; posting-host="c82dac9a889de4944a1c4485c9aa262e"; logging-data="17764"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1/u8ct1dOxmTnsKHtdQEHYhNUar2kTRNiw=" User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:52.0) Gecko/20100101 Thunderbird/52.2.0 In-Reply-To: Content-Language: en-US Cancel-Lock: sha1:pMdKN3ZM0aQE4h6UiXz8dTQMf4c= Xref: csiph.com comp.programming:7846 comp.lang.clipper:1302 comp.lang.c:112521 comp.lang.ada:33857 comp.databases.xbase.fox:79 alt.conspiracy:292597 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: > > 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? ;^)