space space space space > tab

  • 0
  • 2
    The best way to do it is to define the tab key in your favorite editor as 4 spaces rather than the tab character
  • 0
    I still don't understand why people prefer spaces to tabs.. Honestly, can anyone please tell me why?
  • 0
    @sterex because it's such amorphous concept... It depends on stuff, and as a developer I like to have control.
  • 1
    I think it's tedious to count out so many spaces for nested code, really annoying. I'm using Komodo Edit and it translates tabs to four spaces. it makes sense for compatibility and so on, but doing it manually sucks.
  • 0
    @sheeponmeth yeah that's the way to go. Also +1 for the name
  • 0
    @bobotay It's a Linux kernel release codename.
  • 0
    @NoNameCode Most people use tabs which their editor converts imto spaces, i don't think anyone actually presses space x times (with the exception of manual formatting)
  • 0
    @bobotay But how relevant is this when <insert-your-favorite-IDE> can manage it internally?

    The only problem I see is how this can become a GIT nightmare. But there are ways to handle that, right?
  • 0
    @sterex they like the bloody sound of the keyboard
Add Comment