Live data from Hacker News

Developers who use spaces make more money than those who use tabs

stackoverflow.blog

191–200 of 690 posts

Re: Developers who use spaces make more money than those who use tabs

#192
post #158

What's going on with the salary disparity between US ($100k) and UK ($50k)?

I know nobody wants to hear this, but developers in the U.S. are overpaid compared to their peers in the rest of the world. We should count our blessings.

I'm sure employers would love to hear that. Why do they pay so much?

Re: Developers who use spaces make more money than those who use tabs

#193
post #100

Earlier quoted context omitted.

Seems unfair to downvote you just for misunderstanding, that was sarcasm friend.

It's pretty much an unwritten rule that a sarcastic joke on the internet with sufficient exposure will get a response by someone who didn't get it. Using /s really kills the fun (and whole point) of using sarcasm so it's a trade off to accept these comments will happen. I'm impartial to downvoting as to reply literally doesn't usually add to the conversation, which is generally the point of downvoting. Losing karma s…

Do you mean partial to? As in, you favor downvoting over commenting to point out their mistake? Don't mean to be nitpicky, just genuinely confused if that was a mistake or I'm misunderstanding.

Re: Developers who use spaces make more money than those who use tabs

#194
post #83
post #70

Earlier quoted context omitted.

I think there's probably some truth to considering existing norms and thinking ahead, but find it unlikely to be the main confounder. How do tabs fail to work in other editors/IDEs?

They might be configured differently, and you usually can't align stuff properly using just tabs, you have to use a space or three somewhere. Also, you never know if it's spaces, tabs or a combination of them in existing code - which you may have not written yourself. So in the long run, the indentation WILL get fucked up and you WILL miss something when fixing a bug in code that you or someone else wrote 6 months ag…

I don't think the answers here really make a clear case that tabs are the cause of the IDE/editor problems. People intentionally introducing incompatibilities (mixing tabs & spaces, setting their editor to convert) seem to tbe cause. And that would apply regardless of the initial choice.

Re: Developers who use spaces make more money than those who use tabs

#195

Earlier quoted context omitted.

It's not really prejudice if those 'tabbies' are just inferior, is it?

I can't believe that in 2017 I'm reading comments containing blatant spacial prejudice on Hacker News of all places.

I wish I could say I'm surprised. Hacker News has a known spacial prejudice problem. It's exacerbated by the fact that few people of those who experience spacial preference (please use the proper terminology) feel comfortable here, so many just leave.

Re: Developers who use spaces make more money than those who use tabs

#196

Earlier quoted context omitted.

It's not really prejudice if those 'tabbies' are just inferior, is it?

I can't believe that in 2017 I'm reading comments containing blatant spacial prejudice on Hacker News of all places.

Espousing notions of whitespace power. Get that trash out of here.

Re: Developers who use spaces make more money than those who use tabs

#198
post #177

Earlier quoted context omitted.

Almost everyone I know who uses spaces or tabs does so because that's either the default on their IDE, or for their language. So this holier-than-thou argument holds less water than the sun. On the other hand, I find 2-space-indented code unreadable; in fact, 4-space wide indentation is the only size I find to be readable. I know plenty of people for whom that isn't the case. Using tabs lets the reader set the indent…

Any coding standard that relies on humans to do something right is going to fail. Tabs might work if there was a way to automatically enforce no alignment and no use of spaces. But I've never seen any organization actually do that.

> But I've never seen any organization actually do that.

You haven't looked very far! Most open source projects these days enforce code style through some forms of tooling.

But saying that "Any coding standard that relies on humans to do something right is going to fail" is basically giving up and saying "do whatever". I mean, why even ask people to indent consistently if it's doomed to fail? It's a mixed indent party for everybody!

Re: Developers who use spaces make more money than those who use tabs

#199
post #123

The reason I use tabs is pretty simple. It's faster to move around only using the keyboard. It's also faster if I'm changing code that requires reformatting. Finally, when another developer looks at the code, their IDE will render the tabs as whatever its set up for, 2 spaces, 4 spaces, etc. In other words, it adds flexibility. Brace yourself: I use two spaces after the end of sentences too. [1] I am quite the rebel.…

Don Knuth seems to agree with you a bit; TeX automatically inserts some extra spacing between the end of a sentence and the beginning of the next one. You don't have to type it yourself though!
Post reply on HN