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!aioe.org!.POSTED!not-for-mail From: lyttlec Newsgroups: comp.lang.ada Subject: Re: [BBC] Programmers who use spaces 'paid more' Date: Wed, 21 Jun 2017 09:07:55 -0400 Organization: Aioe.org NNTP Server Message-ID: References: NNTP-Posting-Host: vbgdEiLO0NA9Xe6YyjDYzw.user.gioia.aioe.org Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-15 Content-Transfer-Encoding: 8bit X-Complaints-To: abuse@aioe.org User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.1.1 Content-Language: en-US X-Notice: Filtered by postfilter v. 0.8.2 Xref: news.eternal-september.org comp.lang.ada:47042 Date: 2017-06-21T09:07:55-04:00 List-Id: On 06/19/2017 10:19 PM, J. Clarke wrote: > In article , invalid@invalid.invalid says... >> >> On 6/18/2017 7:23 PM, J. Clarke wrote: >>> In article , 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: >>>>> >>>>> 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! >> >> ;^) > > If the series is all like that I'm glad I never watched it. There's > something _wrong_ with that boy. > > You have obviously never had to work in an organization where HR thought that being able to play lots of games on x-box made good programmers. Those kids can hit the space bar real fast.