Posted 4/16/2024, 9:51:20 PM
Torvalds Fires Back in Linux Tabs vs. Spaces Debate
- Linus Torvalds strongly disagrees with a commit that replaced a tab with a space to help a parsing tool
- Torvalds added hidden tabs on purpose to make tab-detection failures more obvious
- The Linux kernel coding style specifies using tabs over spaces
- Attempting to smooth over tabs vs spaces awoke Torvalds' stance on the issue
- Torvalds argues if a tool can't parse tabs as whitespace, it shouldn't parse kernel config files