August 24, 2019, 07:57:22 PM

Author Topic: Programmers who use spaces 'paid more'  (Read 2660 times)

Offline dawlane

  • Full Member
  • ***
  • Posts: 106
Programmers who use spaces 'paid more'
« on: June 16, 2017, 06:21:32 PM »
So according to this article and blog if you use spaces instead of tabs you get paid more.

Offline Matty

  • Hero Member
  • *****
  • Posts: 715
    • MattiesGames
Re: Programmers who use spaces 'paid more'
« Reply #1 on: June 16, 2017, 10:58:01 PM »
How bizarre.

Formatting counts.....

I wonder if it is related to the system being used. Arcane systems that cant handle tabs might have more highly paid rare specialists.

Online TomToad

  • Sr. Member
  • ****
  • Posts: 408
Re: Programmers who use spaces 'paid more'
« Reply #2 on: June 17, 2017, 10:03:47 AM »
These articles seem to be worded to give you the impression they want you to have.  When I see something which has been "proven" by studies or surveys, I need to look to see just how the surveys are done.  Many times I find that questions have been worded to create the wanted answers, or articles leave out small, but important information that could change your perception.

In this instance, we have 28,657 people surveyed.  Out of that, 40.7% say they use exclusively tabs, 41.8% use exclusively spaces; However, only 12,426 people also provided salary information.  The article does not mention the percentage of space/tab users within that 12,426. This is an important piece of information needed to interpret the results correctly.  In an extreme case, if all space users reported their salary, that would be 11,978 people using spaces and reporting salary vs 447 people using tabs and reporting their salary.  That is way to large of a difference to make any conclusion about who is highest paid.

Now I doubt that the extreme case above is the reality, but what is the actual division?  75%, 50%? 10%?  We don't know and therefore cannot make any valid assumptions as to what is better.
------------------------------------------------
8 rabbits equals 1 rabbyte.

Offline Xaron

  • Sr. Member
  • ****
  • Posts: 252
Re: Programmers who use spaces 'paid more'
« Reply #3 on: June 17, 2017, 10:26:46 AM »
Every company I've worked for had coding guidelines which enforce the usage of tabs. There's a good reason for this.

Offline Krischan

  • Full Member
  • ***
  • Posts: 200
    • Krischan's Homepage
Re: Programmers who use spaces 'paid more'
« Reply #4 on: June 17, 2017, 12:50:58 PM »
I'm a "tabber" and I'll stay with tabs (ok, I dont' get paid for coding but the readability is better with tabs IMHO). And I don't believe surveys in general.
Kind regards
Krischan

Windows 10 Pro | i7 9700K@ 3.6GHz | RTX 2080 8GB]
My Blitzbasic Archive | Extrasolar Project | My Github projects

Offline Xaron

  • Sr. Member
  • ****
  • Posts: 252
Re: Programmers who use spaces 'paid more'
« Reply #5 on: June 17, 2017, 01:22:30 PM »
Krischan, how can the readability be better? It looks exactly the same. But as soon as you work in teams and you need to use the same. And as some tend to press space sometimes instead of tab there is only one way to ensure that it will always everywhere look the same, no matter which IDE you use... ;)

Offline Krischan

  • Full Member
  • ***
  • Posts: 200
    • Krischan's Homepage
Re: Programmers who use spaces 'paid more'
« Reply #6 on: June 17, 2017, 01:33:08 PM »
Ok, perhaps the readability is the same. But one tab is four spaces and it's easier to create or delete them than this huge amount of spaces. A disadvantage is posting sourcecode in a forum, my sources were sometimes messed up using tabs in the old bb.com forum but I never switched over to spaces because of that.
Kind regards
Krischan

Windows 10 Pro | i7 9700K@ 3.6GHz | RTX 2080 8GB]
My Blitzbasic Archive | Extrasolar Project | My Github projects

Offline Xaron

  • Sr. Member
  • ****
  • Posts: 252
Re: Programmers who use spaces 'paid more'
« Reply #7 on: June 17, 2017, 01:48:21 PM »
Look here we go already. So a tab is four spaces on your system, but could be 2 or 8 on another one.

Offline Rooster

  • Sr. Member
  • ****
  • Posts: 358
  • I don't know what this does...
Re: Programmers who use spaces 'paid more'
« Reply #8 on: June 17, 2017, 07:39:55 PM »
I didn't know about using tabs, you lean something new every day.

Offline Brucey

  • Jr. Member
  • **
  • Posts: 83
Re: Programmers who use spaces 'paid more'
« Reply #9 on: June 17, 2017, 08:55:09 PM »
That's that then. Consider me a space convert.

Now to start applying for a new job!

Offline therevills

  • Hero Member
  • *****
  • Posts: 560
Re: Programmers who use spaces 'paid more'
« Reply #10 on: June 18, 2017, 02:00:59 AM »
My works forced coding standards are 2 spaces for indents.

Of course everyone still hits the tab key, but we configure the IDE to convert tabs to 2 spaces :)

Offline Qube

  • Administrator
  • Hero Member
  • *****
  • Posts: 2051
Re: Programmers who use spaces 'paid more'
« Reply #11 on: June 18, 2017, 03:53:37 AM »
Gee, I can just imagine incorporating this into charging clients...

Me : Here is the quote for the project we discussed
Client : < reads through quote >
Client : Hmm, I see there are two possible charges here?. One says if you use tabs it's X amount but if you use spaces you'll charge us 20% more!
Me : Yes, that's correct
Client : Tabs, spaces? What's the difference?, What are the benefits to us?
Me : No difference and no benefits. It a choice like if I paint your walls using up and down strokes or down and up strokes.
Client : USE FUCKING TABS!!!!

I can't believe for one second that a person who uses spaces rather than tabs generally gets paid more money. I would hazard a guess that in the data there are companies that have enforced a certain style that incidentally pay more money which has skewered the result.
Until the next time...

Offline EdzUp

  • Jr. Member
  • **
  • Posts: 88
    • EdzUp
Re: Programmers who use spaces 'paid more'
« Reply #12 on: June 18, 2017, 07:48:03 AM »
everywhere I've worked uses Tabs and systems that have ranged from IBM XT's using DOS to today's stuff.

Online Steve Elliott

  • Hero Member
  • *****
  • Posts: 1923
Re: Programmers who use spaces 'paid more'
« Reply #13 on: June 18, 2017, 06:55:44 PM »
Quote
My works forced coding standards are 2 spaces for indents.

2?!  You might as well not bother indenting at all!
Windows 10, 64-bit, 16Gb RAM, CPU Intel i5, 3.2 GHz, Nvidia GeForce GTX 1050 (2Gb).
MacOS Mojave, 64-bit, 8Gb RAM, CPU Intel i5, 2.3 Ghz, Intel Iris Plus Graphics 640 1536 MB.
Linux Mint 19.1, 64-bit, 16Gb RAM, CPU Intel i5, 3.2 GHz, Nvidia GeForce GTX 1050 (2Gb).
Raspbian Buster, pi4 4Gb RAM,1.5Ghz

Offline Xaron

  • Sr. Member
  • ****
  • Posts: 252
Re: Programmers who use spaces 'paid more'
« Reply #14 on: June 18, 2017, 07:02:05 PM »
2 is standard in our company as well.