One of the longest unresolved arguments among developers is whether you should use tabs or spaces in your code. It is also difficult to find good discussion on the topic because it gets sidetracked by non-issues. This post makes two assumptions, so we can focus on what matters:
- You use a code editor which assists in indenting. Whether the file contains tabs or spaces, you just press Tab once to indent.
- The project is set up (e.g. through GitHub actions) to reject malformatted files,