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,FREEMAIL_FROM, 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!news.albasani.net!.POSTED!not-for-mail From: JJ 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: Mon, 19 Jun 2017 20:53:22 +0700 Organization: albasani.net Message-ID: <199qat1lcmdkc$.lmbpz7dj77lx.dlg@40tude.net> References: Mime-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 8bit X-Trace: news.albasani.net 6XC2Qw6/xu6UzZavQYdDPTw56ub5W/VKk6wUshQgOZ1XuWCr9+8fuxgsBXxv2RBevUj+69l4l6aWtGNQZsYN3w== NNTP-Posting-Date: Mon, 19 Jun 2017 13:53:46 +0000 (UTC) Injection-Info: news.albasani.net; logging-data="uAdyIKa6rIdtXyEZ7+J3fGiZFW5qa3flh2PnZwSt76UyrJeIaiiifgCYtHuAZX0yZkS6lnTjERKw2shIym9sC9OI/U8dHlCA4jbscn6u+HZoZim/tb1XAcujjefSCxB0"; mail-complaints-to="abuse@albasani.net" User-Agent: 40tude_Dialog/2.0.15.84 X-Bitcoin: 1LcqwCQBQmhcWfWsVEAeyLchkAY8ZfuMnS X-Face: \*\`0(1j~VfYC>ebz[&O.]=,Nm\oRM{of,liRO#7Eqi4|!]!(Gs=Akgh{J)605>C9Air?pa d{sSZ09u+A7f<^paR"/NH_# On Sun, 18 Jun 2017 21:45:16 +0800, 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. Tab characters are annoying. They messes the cursor's column position when it's being moved up/down and through the middle of the non existing space which was generated by the tab character.