Author Topic: Tabs or Spaces?  (Read 1848 times)

  • Offline Serious

  • Posts: 14,467
  • Global Moderator
  • Hero Member
Tabs or Spaces?
on: June 16, 2017, 21:19:52 PM
Seems people who use spaces in code get paid more, $15,370 more, than those who use tabs. You heard that, Clock'd, get spacing!

I just wonder if it's possible to get completely spaced out while coding... :s

http://www.bbc.co.uk/news/technology-40302410

    • Tekforums.net - It's new and improved!
  • Offline Clock'd 0Ne

  • Clockedtastic
  • Posts: 10,937
  • Administrator
  • Hero Member
Re: Tabs or Spaces?
Reply #1 on: June 17, 2017, 14:24:15 PM
I've seen various posts about this and reviews conducted by Github etc, most of it seems to boil down to developer background, so consistently it seems to be those coming from frontend javascript like myself prefer tabs, which probably accounts for why overall the 'spaces' devs get paid more. There's still plenty of well known libraries and frameworks using tabs, so it will never go away and it's usually a case of  letting the IDE take care of it so it doesn't matter either way.

I created all the repos we use at work so I called dibs on tabs :thumbup: :lol:

A much more interesting argument to have these days is about trailing commas and semi-colons!
Last Edit: June 17, 2017, 14:26:39 PM by Clock'd 0Ne #187;

  • Offline Serious

  • Posts: 14,467
  • Global Moderator
  • Hero Member
Re: Tabs or Spaces?
Reply #2 on: June 18, 2017, 20:41:11 PM
Last coding I did was way back, about '94. Which just goes to show how out of date I am regarding it.

I think the idea back then was return statements got semicolons and trailing commas were used if the closing delimiter was on a lower line. Of course, it was never the only option.

Fibromyalgia means learning new language is incredibly difficult for me, and I include programming in that. The actual information often stays, I just can't do the recall bit.

One issue of discussion back then was should programmers be using higher languages at all? Some thought that machine code was still the way to go.  And yes, the spaces vs tabs issue was around too.

So many arguments, some people claimed you couldn't structure basic either, well you could, I did back on a ZX81, Dragon and Apple ][.

  • Offline Dave

  • Posts: 3,467
  • Hero Member
Re: Tabs or Spaces?
Reply #3 on: June 22, 2017, 17:37:13 PM
very serious topic, can cause breakups:


0 Members and 1 Guest are viewing this topic.