Tabs vs Spaces Explained for Shared Codebases
Two developers commit to the same file for a month. One editor inserts a tab per indent level, the other inserts spaces, and the file quietly becomes a mixture that renders differently on every machine. Tabs vs spaces explained in one sentence: a tab is a single character whose width each editor chooses for itself, while spaces are fixed, so a mixed file can look perfectly aligned to one reader and jagged to the next. Converging on one style is the boring, correct fix, and converting takes a paste.