4
putnam
8y

Tabs or Spaces, which do you pick?

Comments
  • 1
    Spaces get me paid more
  • 0
  • 1
    @putnam the client obeys me, naturally
  • 2
    Space master race
  • 2
    Space if I'm watching a rocket launch, Tabs if I'm writing code.
  • 1
    @sam9669 wow, so 9669's charm really works.
  • 0
    @DirtyBit triggered.
  • 4
    I use Jetbrains IDEs and the tabulator key. But Intellij Idea (and the rest of the Jetbrains family) replaces one tab with four spaces in my setup, which is better because tabs look like hell e.g. in a GitHub commit when looking at it from their web app.
  • 2
    Why would anyone use tabs over spaces? Like seriously? Apart from "reducing the file size" wtf do you get out of it?
  • 1
    *knock knock*
    Good evening! Do you have a minute to talk about or lord and savior, .editorconfig?

    It sets up the whitespace consistently across your repository for all developers in a variety of editors.

    Because in the real world, consistency in the codebase is more relevant than your personal preference, and making a constant fuzz about tabs vs spaces means you don't have more important or complicated problems to solve.
  • 1
    @burmesepornstar longer lasting spacebar
  • 0
    Technically both as i use tabs but they are converted to spaces.
  • 0
    Tabs!
  • 0
    @DirtyBit No one's asking you to use the spacebar. That would be stupid.

    Most editors can map the tab key to whatever number of spaces you want.
  • 0
    @burmesepornstar then why is the discussion between tabs and spaces even a thing? I use spaces then
  • 1
    @DirtyBit Exactly. The argument is between actually using tabs vs spaces. The argument for tabs being that it reduces the file size cause of fewer characters.
Add Comment