DEV Community

Discussion on: Tabs VS Space

Collapse
sir_wernich profile image
Wernich ️

i like tabs, because it's easier to align. at work our overlords demand spaces, so every time i have to go backspace-backspace-backspace-backspace-backspace-backspace-backspace-backspace-backspace-backspace-backspace-backspace-backspace-backspace-backspace-backspace-backspace-space i swear a little.

there are benefits to spaces:

  • copy and paste into documents/chats/email/something has the same formatting everytime
  • it looks the same in every dev environment

tabs have some pros too:

  • it's better than using spaces to indent
Collapse
joshuakb2 profile image
Joshua Baker

Your editor doesn't do soft tabs, I guess?