• Hot take: Tabs are the objectively correct way to do indentation. The main argument I have seen in favor of spaces is that they give you finer control over how the code looks, but semantically, one tab is one level of indentation, and the exact appearance of a tab is best left to editor preference. Nonetheless, I use spaces because everyone else uses spaces, and I would rather be consistent with existing code bases than bikeshed over ultimately unimportant concerns. I suspect this is the reason why spaces became so popular in the first place.