What're the real technical key aspects that need to be considered before deciding or coming to a conclusion of battle of Tabs vs Spaces?
For further actions, you may consider blocking this person and/or reporting abuse
What're the real technical key aspects that need to be considered before deciding or coming to a conclusion of battle of Tabs vs Spaces?
For further actions, you may consider blocking this person and/or reporting abuse
Latest comments (34)
The end!
Cool
I prefer tabs
And 2*2 config
Means size of tab
3 reactions and 21 comments... You knew what you were getting into 😋
Yes....
Sorry for the confusion, when I say 4 spaces vs 2 spaces, I mean the tab character
\t
displays as that number of spaces.There is no conversion, the linter keeps everything as tabs so there's to worry of mixing tabs and spaces and everyone can display their indentation how they like.
I think this entire debate isn't really worth discussing given the current state of linting/developer tooling.
IDEs showing tabs how I like is a good thing! If the code base has 2 space indentation, why should I be forced to view my code that way if my IDE can just display it with 4 spaces and commit to GitHub with 2 spaces?
a never ending discussion, hahah :)
EOF
Tabs.
±1
It really dosnt matter, as long as a code base is maintained and standardized.
There is literally nothing worse than seeing a Tabs Vs Spaces comment on a PR, I would hate to know how much time effort and frustration and company times has been lost to this argument.
Added some spaces here
The issue arose from a number of factors, but primarily boils down to the visual differences which occur in badly configured IDEs
I personally use the tab key to indent, but configure my IDE based on the linting rules of the project I am working on.
docs.google.com/presentation/d/1Kk...
Thank you