Programmers who use spaces earn more than those who use tabs

OK keyboard, prepare for surgery you're losing a tab key today..
 
Surely this is more a function of the languages used and how they "prefer" to be formatted i.e. what the language-specific best-practices are?
 
Surely this is more a function of the languages used and how they "prefer" to be formatted i.e. what the language-specific best-practices are?

No! Tabs always suck! :D
 
Most likely an indication of attention to detail.
Tabs are sloppy! Why leave your carefully crafted indents to the 2, 3 or 4 space interpretation of other?
 
I think that the key issue is that anyone who has worked on projects large enough to require a team, know that tabs don't play well with others. Those who have never managed to get out of the scope of solo development probably all just think that tabs are a great way to save keystrokes. The former group are generally more skilled and therefore earn more, which is why we see the distribution we see.
 
Most likely an indication of attention to detail.
Tabs are sloppy! Why leave your carefully crafted indents to the 2, 3 or 4 space interpretation of other?

Attention to detail is defining the tab spacing in your DE / editor before you start!
 
dac7eb3749cff506e32844acc4589673.jpg


5c1c565d0f5fe31c8cb1b29a42d348fe.jpg
 
Google uses spaces and most IDEs will allow you to remap the tab button a number of spaces so I use the tab key however my code has spaces in it. Really a non conversation, it is very rare to see someone indent a line through individual presses of the space bar.

The main reason to use spaces over tabs is because spaces play nicer for most text editors across most systems.
 
Any decent IDE or text editor can convert tabs to spaces for you, so the convenience of hitting tab with the consistency of spaces. Jeez, why is this such an issue.
 
Any decent IDE or text editor can convert tabs to spaces for you, so the convenience of hitting tab with the consistency of spaces. Jeez, why is this such an issue.

This. In fact, aren't they usually set to do that by default? It's only word processing programs that actually use tab characters.
 
giphy.gif


Want... to... quickly... reformat... this... code....
Don't... know... if... space... or.... tab...

Hands up who changes colleagues indentation when peer reviewing :D
 
ABAP editor has a button called 'pretty printer'. Just press it and it does all the indentations for you. Nice and neat :)
 
Just use .editorconfig(with spaces configured oc) and format code. Done. :D
 
Top
Sign up to the MyBroadband newsletter
X