Ranter
Join devRant
Do all the things like
++ or -- rants, post your own rants, comment on others' rants and build your customized dev avatar
Sign Up
Pipeless API
From the creators of devRant, Pipeless lets you power real-time personalized recommendations and activity feeds using a simple API
Learn More
Comments
-
bobotay7139yThe best way to do it is to define the tab key in your favorite editor as 4 spaces rather than the tab character
-
sterex4389yI still don't understand why people prefer spaces to tabs.. Honestly, can anyone please tell me why?
-
bobotay7139y@sterex because it's such amorphous concept... It depends on stuff, and as a developer I like to have control.
-
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.
-
@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)
-
sterex4389y@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?
space space space space > tab
undefined