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
-
I never could understand people like you. You do realize there are tools to convert all spaces to tabs and vice versa?
Also if the other team did use same tools, it's more than possible, they would have never found any problems with that. -
xnor15265y@HitWRight I don't want my name all over the file in a commit because I corrected the indentation.
I don't care if they use spaces or tabs, I just want them to use one thing in a file. -
@xnor git hooks is your friend then. Trust me that will be much easier than to force people to switch by hand. You could also extend to automatically force formatting, or variable function names casing to fit the code base. Even if people are willing to switch, sometimes they will manage to accidentally paste tab characters into the commit.
-
@Jilano he's right though. Tabs by design should be used for indentation. It's like suggesting to type backwards instead of using rtl character.
-
sirjofri5175yI hate IDEs. I want to code, not handle with suggestions from a system. Let me just code like I want (I use an editor). I also use tabs (tab character) for indentation and spaces for alignment. And it's not about what keys I press, but about what character is typed
-
Skayo85685y<@groxx>
Thanks for telling me!
It was indeed broken and now I've fixed it hopyfully.
Enjoy! -
sirjofri5175y@groxx it's indeed interesting. It also mentions plan9, my current operating system (and I use acme). I thought nobody knows it... Btw I rarely need code alignment
-
@Jilano I agree. If IDE manages to replace tabs with spaces and still keep the glorious functionality of switching between tab spaces (4 spaces is way to much), then there would be no reason for me to use tab characters. Currently I don't see that happening.
-
mojo20127835y@Jilano what IDE r u using??? the big ones like VS, eclipse or intellij use all tabs by default.
Related Rants
I get that this was a small team when they developed this and there was no coding guidelines...
But, using spaces and tabs in the same file is just unacceptable!!
rant
indentation horror