Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.programming > #7842 > unrolled thread
| Started by | "Mr. Man-wai Chang" <toylet.toylet@gmail.com> |
|---|---|
| First post | 2017-06-18 21:45 +0800 |
| Last post | 2017-07-05 18:36 +0000 |
| Articles | 20 on this page of 29 — 14 participants |
Back to article view | Back to comp.programming
[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' "J. Clarke" <j.clarke.873638@gmail.com> - 2017-06-18 22:20 -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' Ike Naar <ike@iceland.freeshell.org> - 2017-06-19 07:24 +0000
Re: [BBC] Programmers who use spaces 'paid more' Ike Naar <ike@iceland.freeshell.org> - 2017-06-19 08:28 +0000
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' Julio Di Egidio <julio@diegidio.name> - 2017-06-19 07:11 -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' Anton Shepelev <anton.txt@gmail.com> - 2017-06-21 00:51 +0300
Re: [BBC] Programmers who use spaces 'paid more' Julio Di Egidio <julio@diegidio.name> - 2017-06-20 14:56 -0700
Re: [BBC] Programmers who use spaces 'paid more' Simon Wright <simon@pushface.org> - 2017-06-21 13:27 +0100
Re: [BBC] Programmers who use spaces 'paid more' Julio Di Egidio <julio@diegidio.name> - 2017-06-21 05:36 -0700
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
Re: [BBC] Programmers who use spaces 'paid more' Adam Jensen <hanzer@riseup.net> - 2017-07-05 18:36 +0000
Page 1 of 2 [1] 2 Next page →
| From | "Mr. Man-wai Chang" <toylet.toylet@gmail.com> |
|---|---|
| Date | 2017-06-18 21:45 +0800 |
| Subject | [BBC] Programmers who use spaces 'paid more' |
| Message-ID | <oi5vui$cva$1@dont-email.me> |
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. -- @~@ Remain silent! Drink, Blink, Stretch! Live long and prosper!! / v \ Simplicity is Beauty! /( _ )\ May the Force and farces be with you! ^ ^ (x86_64 Ubuntu 9.10) Linux 2.6.39.3 不借貸! 不詐騙! 不援交! 不打交! 不打劫! 不自殺! 請考慮綜援 (CSSA): http://www.swd.gov.hk/tc/index/site_pubsvc/page_socsecu/sub_addressesa
[toc] | [next] | [standalone]
| From | Per Sandberg <per.s.sandberg@bahnhof.se> |
|---|---|
| Date | 2017-06-18 22:13 +0200 |
| Message-ID | <_9B1B.213777$gM7.90022@fx44.am4> |
| In reply to | #7842 |
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: <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. >
[toc] | [prev] | [next] | [standalone]
| From | "J. Clarke" <j.clarke.873638@gmail.com> |
|---|---|
| Date | 2017-06-18 19:03 -0400 |
| Message-ID | <MPG.33b0d0e32e40d66b98ad93@news.eternal-september.org> |
| In reply to | #7843 |
In article <_9B1B.213777$gM7.90022@fx44.am4>, per.s.sandberg@bahnhof.se says... > > 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. OK, so tell us what is the third factor that results in programmers who use spaces being paid more than programmers who use tabs.
[toc] | [prev] | [next] | [standalone]
| From | Lew Pitcher <lew.pitcher@digitalfreehold.ca> |
|---|---|
| Date | 2017-06-18 20:22 -0400 |
| Message-ID | <oi759s$7he$1@dont-email.me> |
| In reply to | #7844 |
J. Clarke wrote:
> In article <_9B1B.213777$gM7.90022@fx44.am4>, per.s.sandberg@bahnhof.se
> says...
>>
>> 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.
>
> OK, so tell us what is the third factor that results in programmers who
> use spaces being paid more than programmers who use tabs.
What third factor?
Remember, correlation is not causation. You'd be surprised at how often
people forget that. You can often take two random, real-world variables and
find some sort of correlation between them; that doesn't mean that there is
any causative factor between those variables values - random is random.
As for "programmers who use spaces get paid more than programmers who use
tabs", here are a few more for you
- there is a direct, linear correlation between
{US spending on science, space and technology}
and
{suicides by hanging, strangulation and suffocation}.
- there is a direct, linear correlation between
{the number of people who drowned by falling into a pool}
and
{films that Nicholas Cage appeared in}
http://www.tylervigen.com/spurious-correlations
--
Lew Pitcher
"In Skills, We Trust"
PGP public key available upon request
[toc] | [prev] | [next] | [standalone]
| From | "J. Clarke" <j.clarke.873638@gmail.com> |
|---|---|
| Date | 2017-06-18 22:20 -0400 |
| Message-ID | <MPG.33b0ff02d077c1f398ad96@news.eternal-september.org> |
| In reply to | #7845 |
In article <oi759s$7he$1@dont-email.me>, lew.pitcher@digitalfreehold.ca
says...
>
> J. Clarke wrote:
>
> > In article <_9B1B.213777$gM7.90022@fx44.am4>, per.s.sandberg@bahnhof.se
> > says...
> >>
> >> 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.
> >
> > OK, so tell us what is the third factor that results in programmers who
> > use spaces being paid more than programmers who use tabs.
>
> What third factor?
> Remember, correlation is not causation. You'd be surprised at how often
> people forget that. You can often take two random, real-world variables and
> find some sort of correlation between them; that doesn't mean that there is
> any causative factor between those variables values - random is random.
>
> As for "programmers who use spaces get paid more than programmers who use
> tabs", here are a few more for you
>
> - there is a direct, linear correlation between
> {US spending on science, space and technology}
> and
> {suicides by hanging, strangulation and suffocation}.
> - there is a direct, linear correlation between
> {the number of people who drowned by falling into a pool}
> and
> {films that Nicholas Cage appeared in}
>
> http://www.tylervigen.com/spurious-correlations
Your example involved a third factor common to both. Now you seem to be
trying to deny that programmers' incomes have any dependency on their work
habits.
Sorry, but you're coming across as someone who doesn't really think too
much about what he says.
[toc] | [prev] | [next] | [standalone]
| From | "Pascal J. Bourguignon" <pjb@informatimago.com> |
|---|---|
| Date | 2017-06-19 07:50 +0200 |
| Message-ID | <m2a854h6g4.fsf@despina.home> |
| In reply to | #7844 |
"J. Clarke" <j.clarke.873638@gmail.com> writes: > In article <_9B1B.213777$gM7.90022@fx44.am4>, per.s.sandberg@bahnhof.se > says... >> >> 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. > > OK, so tell us what is the third factor that results in programmers who use > spaces being paid more than programmers who use tabs. IQ Higher IQ makes you use spaces instead of tabs. Higher IQ also makes you get paid more. -- __Pascal J. Bourguignon http://www.informatimago.com
[toc] | [prev] | [next] | [standalone]
| From | Ike Naar <ike@iceland.freeshell.org> |
|---|---|
| Date | 2017-06-19 07:24 +0000 |
| Message-ID | <slrn3vfsokev81.ef6.ike@iceland.freeshell.org> |
| In reply to | #7849 |
On 2017-06-19, Pascal J. Bourguignon <pjb@informatimago.com> wrote: > "J. Clarke" <j.clarke.873638@gmail.com> writes: > >> In article <_9B1B.213777$gM7.90022@fx44.am4>, per.s.sandberg@bahnhof.se >> says... >>> >>> 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. >> >> OK, so tell us what is the third factor that results in programmers who use >> spaces being paid more than programmers who use tabs. > > IQ > > Higher IQ makes you use spaces instead of tabs. > Higher IQ also makes you get paid more. > > >
[toc] | [prev] | [next] | [standalone]
| From | Ike Naar <ike@iceland.freeshell.org> |
|---|---|
| Date | 2017-06-19 08:28 +0000 |
| Message-ID | <slrn3vfsokf2vm.g2t.ike@iceland.freeshell.org> |
| In reply to | #7849 |
On 2017-06-19, Pascal J. Bourguignon <pjb@informatimago.com> wrote: > "J. Clarke" <j.clarke.873638@gmail.com> writes: > >> In article <_9B1B.213777$gM7.90022@fx44.am4>, per.s.sandberg@bahnhof.se >> says... >>> >>> 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. >> >> OK, so tell us what is the third factor that results in programmers who use >> spaces being paid more than programmers who use tabs. > > IQ > > Higher IQ makes you use spaces instead of tabs. > Higher IQ also makes you get paid more. If it has anything to do with IQ, it probably works the other way around. Programmers are grossly overpaid (by their employer). The lower the IQ of the employer, the more the programmer gets overpaid. Apparently, employers who employ tab-bangers are smarter than employers who employ space-bangers.
[toc] | [prev] | [next] | [standalone]
| From | "Mr. Man-wai Chang" <toylet.toylet@gmail.com> |
|---|---|
| Date | 2017-06-19 22:28 +0800 |
| Message-ID | <oi8mr4$klb$1@dont-email.me> |
| In reply to | #7849 |
On 19/6/2017 1:50 PM, Pascal J. Bourguignon wrote: >> >> OK, so tell us what is the third factor that results in programmers who use >> spaces being paid more than programmers who use tabs. > > IQ Why not spy activities? The sole purpose of the news story was to attack real programmers? ;) -- @~@ Remain silent! Drink, Blink, Stretch! Live long and prosper!! / v \ Simplicity is Beauty! /( _ )\ May the Force and farces be with you! ^ ^ (x86_64 Ubuntu 9.10) Linux 2.6.39.3 不借貸! 不詐騙! 不援交! 不打交! 不打劫! 不自殺! 請考慮綜援 (CSSA): http://www.swd.gov.hk/tc/index/site_pubsvc/page_socsecu/sub_addressesa
[toc] | [prev] | [next] | [standalone]
| From | Snit <usenet@gallopinginsanity.com> |
|---|---|
| Date | 2017-06-19 20:00 -0700 |
| Message-ID | <D56DDDDE.A7DC1%usenet@gallopinginsanity.com> |
| In reply to | #7844 |
On 6/18/17, 4:03 PM, in article MPG.33b0d0e32e40d66b98ad93@news.eternal-september.org, "J. Clarke" <j.clarke.873638@gmail.com> wrote: > In article <_9B1B.213777$gM7.90022@fx44.am4>, per.s.sandberg@bahnhof.se > says... >> >> 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. > > OK, so tell us what is the third factor that results in programmers who use > spaces being paid more than programmers who use tabs. Could be programmers of certain ages or from different sources of education learn one or the other method. -- Personal attacks from those who troll show their own insecurity. They cannot use reason to show the message to be wrong so they try to feel somehow superior by attacking the messenger. They cling to their attacks and ignore the message time and time again. <https://youtu.be/H4NW-Cqh308>
[toc] | [prev] | [next] | [standalone]
| From | "Mr. Man-wai Chang" <toylet.toylet@gmail.com> |
|---|---|
| Date | 2017-06-19 18:46 +0800 |
| Message-ID | <oi89s6$usa$2@dont-email.me> |
| In reply to | #7843 |
On 19/6/2017 4:13 AM, Per Sandberg wrote: > 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. Personally speaking, hard spaces is better than tabs (white spaces). You never how other programmers set up their tab width. -- @~@ Remain silent! Drink, Blink, Stretch! Live long and prosper!! / v \ Simplicity is Beauty! /( _ )\ May the Force and farces be with you! ^ ^ (x86_64 Ubuntu 9.10) Linux 2.6.39.3 不借貸! 不詐騙! 不援交! 不打交! 不打劫! 不自殺! 請考慮綜援 (CSSA): http://www.swd.gov.hk/tc/index/site_pubsvc/page_socsecu/sub_addressesa
[toc] | [prev] | [next] | [standalone]
| From | "Chris M. Thomasson" <invalid@invalid.invalid> |
|---|---|
| Date | 2017-06-18 18:19 -0700 |
| Message-ID | <oi78k3$hb4$1@dont-email.me> |
| In reply to | #7842 |
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? ;^)
[toc] | [prev] | [next] | [standalone]
| From | "J. Clarke" <j.clarke.873638@gmail.com> |
|---|---|
| Date | 2017-06-18 22:23 -0400 |
| Message-ID | <MPG.33b0ff99eb1a6e9398ad97@news.eternal-september.org> |
| In reply to | #7846 |
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.
[toc] | [prev] | [next] | [standalone]
| From | "Chris M. Thomasson" <invalid@invalid.invalid> |
|---|---|
| Date | 2017-06-19 12:42 -0700 |
| Message-ID | <oi997u$efv$2@dont-email.me> |
| In reply to | #7848 |
On 6/18/2017 7:23 PM, J. Clarke wrote: > 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. > > 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! ;^)
[toc] | [prev] | [next] | [standalone]
| From | "J. Clarke" <j.clarke.873638@gmail.com> |
|---|---|
| Date | 2017-06-19 22:19 -0400 |
| Message-ID | <MPG.33b25048fa4cebea98ad9b@news.eternal-september.org> |
| In reply to | #7862 |
In article <oi997u$efv$2@dont-email.me>, invalid@invalid.invalid says... > > On 6/18/2017 7:23 PM, J. Clarke wrote: > > 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. > > > > > > 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.
[toc] | [prev] | [next] | [standalone]
| From | "Chris M. Thomasson" <invalid@invalid.invalid> |
|---|---|
| Date | 2017-06-20 11:44 -0700 |
| Message-ID | <oibq86$68c$1@dont-email.me> |
| In reply to | #7863 |
On 6/19/2017 7:19 PM, J. Clarke wrote: > In article <oi997u$efv$2@dont-email.me>, invalid@invalid.invalid says... >> >> On 6/18/2017 7:23 PM, J. Clarke wrote: >>> 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. >>> >>> >> >> 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. Lol! The character might be suffering from a bit of Asperger's syndrome.
[toc] | [prev] | [next] | [standalone]
| From | "Mr. Man-wai Chang" <toylet.toylet@gmail.com> |
|---|---|
| Date | 2017-06-19 18:47 +0800 |
| Message-ID | <oi89t7$usa$3@dont-email.me> |
| In reply to | #7846 |
On 19/6/2017 9:19 AM, Chris M. Thomasson wrote: > > What about setting up the single press of the tab key to insert n > spaces? ;^) It's called a keyboard macro, well-known in the world computer gaming keyboards and mouses. :) -- @~@ Remain silent! Drink, Blink, Stretch! Live long and prosper!! / v \ Simplicity is Beauty! /( _ )\ May the Force and farces be with you! ^ ^ (x86_64 Ubuntu 9.10) Linux 2.6.39.3 不借貸! 不詐騙! 不援交! 不打交! 不打劫! 不自殺! 請考慮綜援 (CSSA): http://www.swd.gov.hk/tc/index/site_pubsvc/page_socsecu/sub_addressesa
[toc] | [prev] | [next] | [standalone]
| From | nospam@please.invalid (AnthonyL) |
|---|---|
| Date | 2017-06-19 11:24 +0000 |
| Message-ID | <5947b42e.13663937@news.eternal-september.org> |
| In reply to | #7853 |
On Mon, 19 Jun 2017 18:47:31 +0800, "Mr. Man-wai Chang" <toylet.toylet@gmail.com> wrote: >On 19/6/2017 9:19 AM, Chris M. Thomasson wrote: >> >> What about setting up the single press of the tab key to insert n >> spaces? ;^) > >It's called a keyboard macro, well-known in the world computer gaming >keyboards and mouses. :) > I seem to recall it being a standard option in the editor our programmers used, something like "Fill tabs with spaces y/N" -- AnthonyL
[toc] | [prev] | [next] | [standalone]
| From | "Mr. Man-wai Chang" <toylet.toylet@gmail.com> |
|---|---|
| Date | 2017-06-19 20:26 +0800 |
| Message-ID | <oi8fnc$52a$1@dont-email.me> |
| In reply to | #7855 |
On 19/6/2017 7:24 PM, AnthonyL wrote: >> >> It's called a keyboard macro, well-known in the world computer gaming >> keyboards and mouses. :) > > I seem to recall it being a standard option in the editor our > programmers used, something like "Fill tabs with spaces y/N" The old way. -- @~@ Remain silent! Drink, Blink, Stretch! Live long and prosper!! / v \ Simplicity is Beauty! /( _ )\ May the Force and farces be with you! ^ ^ (x86_64 Ubuntu 9.10) Linux 2.6.39.3 不借貸! 不詐騙! 不援交! 不打交! 不打劫! 不自殺! 請考慮綜援 (CSSA): http://www.swd.gov.hk/tc/index/site_pubsvc/page_socsecu/sub_addressesa
[toc] | [prev] | [next] | [standalone]
| From | JJ <jj4public@vfemail.net> |
|---|---|
| Date | 2017-06-19 20:53 +0700 |
| Message-ID | <199qat1lcmdkc$.lmbpz7dj77lx.dlg@40tude.net> |
| In reply to | #7842 |
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: <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. 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.
[toc] | [prev] | [next] | [standalone]
Page 1 of 2 [1] 2 Next page →
Back to top | Article view | comp.programming
csiph-web