September 10, 20169 yr Tabs or Spaces for indentation, which do I use? Edited September 10, 20169 yr by Transporter
September 10, 20169 yr 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, 20169 yr by Explv
Create an account or sign in to comment