From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on polar.synack.me X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,LOTS_OF_MONEY autolearn=unavailable autolearn_force=no version=3.4.4 Path: eternal-september.org!reader01.eternal-september.org!reader02.eternal-september.org!news.eternal-september.org!news.eternal-september.org!feeder.eternal-september.org!border1.nntp.ams1.giganews.com!border2.nntp.ams1.giganews.com!nntp.giganews.com!peer02.ams1!peer.ams1.xlned.com!news.xlned.com!peer02.am4!peer.am4.highwinds-media.com!peer01.fr7!futter-mich.highwinds-media.com!news.highwinds-media.com!fx44.am4.POSTED!not-for-mail Subject: Re: [BBC] Programmers who use spaces 'paid more' Newsgroups: comp.programming,comp.lang.clipper,comp.lang.c,comp.lang.ada,comp.databases.xbase.fox,alt.conspiracy References: From: Per Sandberg User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.1.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 8bit Message-ID: <_9B1B.213777$gM7.90022@fx44.am4> X-Complaints-To: abuse@usenet.se NNTP-Posting-Date: Sun, 18 Jun 2017 20:13:46 UTC Organization: usenet.se Date: Sun, 18 Jun 2017 22:13:44 +0200 X-Received-Body-CRC: 2898984777 X-Received-Bytes: 2598 X-Original-Bytes: 2422 Xref: news.eternal-september.org comp.programming:20004 comp.lang.clipper:3011 comp.lang.c:191346 comp.lang.ada:46989 comp.databases.xbase.fox:159 alt.conspiracy:352378 Date: 2017-06-18T22:13:44+02:00 List-Id: This makes perfect sense ! But this is the same class of statistics that tells you that milk is causing accidents since the number of children in injured in car accidents in an area is direct proportional to the consumption of milk in the same area. Den 2017-06-18 kl. 15:45, skrev Mr. Man-wai Chang: > > 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. >