Transporter Posted September 10, 2016 Share Posted September 10, 2016 (edited) Tabs or Spaces for indentation, which do I use? Edited September 10, 2016 by Transporter Quote Link to comment Share on other sites More sharing options...
Xylate Posted September 10, 2016 Share Posted September 10, 2016 Tabs Quote Link to comment Share on other sites More sharing options...
Krys Posted September 10, 2016 Share Posted September 10, 2016 tabs for sure Quote Link to comment Share on other sites More sharing options...
Rudie Posted September 10, 2016 Share Posted September 10, 2016 Why would one ever use spaces? Quote Link to comment Share on other sites More sharing options...
Transporter Posted September 10, 2016 Author Share Posted September 10, 2016 Why would one ever use spaces? 1 Quote Link to comment Share on other sites More sharing options...
Flamezzz Posted September 10, 2016 Share Posted September 10, 2016 Spaces... Quote Link to comment Share on other sites More sharing options...
Eliot Posted September 10, 2016 Share Posted September 10, 2016 People actually use tabs? Haha. Quote Link to comment Share on other sites More sharing options...
Wizard Posted September 10, 2016 Share Posted September 10, 2016 \t(tab).. some people just want to watch the world burn Quote Link to comment Share on other sites More sharing options...
Explv Posted September 10, 2016 Share Posted September 10, 2016 (edited) Tabs or Spaces for indentation, which do I use? Most editors will insert spaces when you press the tab key, if it doesn't you should set it so that it does. Tabs are generally bad in programming because different editors will insert different amounts of whitespace for a tab. So when viewing your code it can look completely different. That clip from Silicon Valley is bullshit because no one sits there pressing the space key, as their tab key inserts spaces rather than tabs. Edited September 10, 2016 by Explv Quote Link to comment Share on other sites More sharing options...